Class KeyInfoBean


  • public class KeyInfoBean
    extends Object
    Class KeyInfoBean represents a KeyInfo structure that will be embedded in a SAML Subject.
    • Constructor Detail

      • KeyInfoBean

        public KeyInfoBean()
        Constructor KeyInfoBean creates a new KeyInfoBean instance.
    • Method Detail

      • getCertificate

        public X509Certificate getCertificate()
        Method getCertificate returns the certificate of this KeyInfoBean object.
        Returns:
        the cert (type X509Certificate) of this KeyInfoBean object.
      • setCertificate

        public void setCertificate​(X509Certificate cert)
        Method setCertificate sets the cert of this KeyInfoBean object.
        Parameters:
        cert - the cert of this KeyInfoBean object.
      • getPublicKey

        public PublicKey getPublicKey()
        Method getPublicKey returns the public key of this KeyInfoBean object.
        Returns:
        the publicKey (type PublicKey) of this KeyInfoBean object.
      • setPublicKey

        public void setPublicKey​(PublicKey publicKey)
        Method setPublicKey sets the publicKey of this KeyInfoBean object.
        Parameters:
        publicKey - the publicKey of this KeyInfoBean object.
      • getCertIdentifer

        public KeyInfoBean.CERT_IDENTIFIER getCertIdentifer()
        Method getCertIdentifer returns the cert identifer of this KeyInfoBean object.
        Returns:
        the certIdentifier (type CERT_IDENTIFIER) of this KeyInfoBean object.
      • setCertIdentifer

        public void setCertIdentifer​(KeyInfoBean.CERT_IDENTIFIER certIdentifier)
        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

        public Element getElement()
        Method getElement returns the DOM Element of this KeyInfoBean object.
        Returns:
        the keyInfoElement (type Element) of this KeyInfoBean object.
      • setElement

        public void setElement​(Element keyInfoElement)
        Method setElement sets the DOM Element of this KeyInfoBean object.
        Parameters:
        keyInfoElement - the DOM Element of this KeyInfoBean object.
      • equals

        public boolean equals​(Object o)
        Method equals ...
        Overrides:
        equals in class Object
        Parameters:
        o - of type Object
        Returns:
        boolean
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
        Returns:
        the hashCode of this object