Class KeyInfoBean
java.lang.Object
org.apache.wss4j.common.saml.bean.KeyInfoBean
Class KeyInfoBean represents a KeyInfo structure that will be embedded in a SAML Subject.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanMethod equals ...Method getCertIdentifer returns the cert identifer of this KeyInfoBean object.Method getCertificate returns the certificate of this KeyInfoBean object.Method getElement returns the DOM Element of this KeyInfoBean object.byte[]Method getPublicKey returns the public key of this KeyInfoBean object.inthashCode()voidsetCertIdentifer(KeyInfoBean.CERT_IDENTIFIER certIdentifier) Method setCertIdentifer sets the cert identifier of this KeyInfoBean object.voidMethod setCertificate sets the cert of this KeyInfoBean object.voidsetElement(Element keyInfoElement) Method setElement sets the DOM Element of this KeyInfoBean object.voidsetEphemeralKey(byte[] ephemeralKey) voidsetPublicKey(PublicKey publicKey) Method setPublicKey sets the publicKey of this KeyInfoBean object.
-
Constructor Details
-
KeyInfoBean
public KeyInfoBean()Constructor KeyInfoBean creates a new KeyInfoBean instance.
-
-
Method Details
-
getCertificate
Method getCertificate returns the certificate of this KeyInfoBean object.- Returns:
- the cert (type X509Certificate) of this KeyInfoBean object.
-
setCertificate
Method setCertificate sets the cert of this KeyInfoBean object.- Parameters:
cert- the cert of this KeyInfoBean object.
-
getPublicKey
Method getPublicKey returns the public key of this KeyInfoBean object.- Returns:
- the publicKey (type PublicKey) of this KeyInfoBean object.
-
setPublicKey
Method setPublicKey sets the publicKey of this KeyInfoBean object.- Parameters:
publicKey- the publicKey of this KeyInfoBean object.
-
getCertIdentifer
Method getCertIdentifer returns the cert identifer of this KeyInfoBean object.- Returns:
- the certIdentifier (type CERT_IDENTIFIER) of this KeyInfoBean object.
-
setCertIdentifer
Method setCertIdentifer sets the cert identifier of this KeyInfoBean object.- Parameters:
certIdentifier- the certIdentifier of this KeyInfoBean object.
-
getEphemeralKey
public byte[] getEphemeralKey() -
setEphemeralKey
public void setEphemeralKey(byte[] ephemeralKey) -
getElement
Method getElement returns the DOM Element of this KeyInfoBean object.- Returns:
- the keyInfoElement (type Element) of this KeyInfoBean object.
-
setElement
Method setElement sets the DOM Element of this KeyInfoBean object.- Parameters:
keyInfoElement- the DOM Element of this KeyInfoBean object.
-
equals
Method equals ... -
hashCode
public int hashCode()
-