public class ProxySAMLExtension
extends org.bouncycastle.asn1.ASN1Encodable
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 form the byte array
|
ProxySAMLExtension(String samlString)
Used to generate an instance form the SAML assertion in String
format.
|
Modifier and Type | Method and Description |
---|---|
static ProxySAMLExtension |
getInstance(X509Certificate cert)
Returns the SAML extension form the certificate.
|
String |
getSAML()
Used to get the SAML assertion in String format.
|
org.bouncycastle.asn1.DERObject |
toASN1Object() |
public static final String SAML_OID
public static final String LEGACY_SAML_OID
public ProxySAMLExtension(byte[] bytes) throws IOException
bytes
- IOException
public ProxySAMLExtension(String samlString)
samlString
- public static ProxySAMLExtension getInstance(X509Certificate cert) throws IOException
IOException
- In case there is a problem parsing the certificate.public String getSAML()
public org.bouncycastle.asn1.DERObject toASN1Object()
toASN1Object
in class org.bouncycastle.asn1.ASN1Encodable
Copyright © 2012–2013 European Middleware Initiative. All rights reserved.