public class ProxySAMLExtension extends ASN1Object
Modifier and Type | Field and Description |
---|---|
static String |
LEGACY_SAML_OID
The legacy OID for the SAML assertion.
|
static String |
SAML_OID
The OID for the SAML assertion.
|
Constructor and Description |
---|
ProxySAMLExtension(byte[] bytes)
Generates a new SAMLExtension object from the byte array
|
ProxySAMLExtension(String samlString)
Used to generate an instance from the SAML assertion in String
format.
|
Modifier and Type | Method and Description |
---|---|
static ProxySAMLExtension |
getInstance(X509Certificate cert)
Returns the SAML extension from the certificate.
|
String |
getSAML()
Used to get the SAML assertion in String format.
|
ASN1Primitive |
toASN1Primitive() |
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode, toASN1Object
public static final String SAML_OID
public static final String LEGACY_SAML_OID
public ProxySAMLExtension(byte[] bytes) throws IOException
bytes
- byte arrayIOException
- IO exceptionpublic ProxySAMLExtension(String samlString)
samlString
- SAML stringpublic static ProxySAMLExtension getInstance(X509Certificate cert) throws IOException
cert
- certificateIOException
- In case there is a problem parsing the certificate.public String getSAML()
public ASN1Primitive toASN1Primitive()
toASN1Primitive
in interface ASN1Encodable
toASN1Primitive
in class ASN1Object
Copyright © 2012-2017 European Middleware Initiative. All Rights Reserved.