org.apache.ws.security.saml.ext.bean
Class KeyInfoBean

java.lang.Object
  extended by org.apache.ws.security.saml.ext.bean.KeyInfoBean

public class KeyInfoBean
extends Object

Class KeyInfoBean represents a KeyInfo structure that will be embedded in a SAML Subject.


Nested Class Summary
static class KeyInfoBean.CERT_IDENTIFIER
           
 
Constructor Summary
KeyInfoBean()
          Constructor KeyInfoBean creates a new KeyInfoBean instance.
 
Method Summary
 boolean equals(Object o)
          Method equals ...
 KeyInfoBean.CERT_IDENTIFIER getCertIdentifer()
          Method getCertIdentifer returns the cert identifer of this KeyInfoBean object.
 X509Certificate getCertificate()
          Method getCertificate returns the certificate of this KeyInfoBean object.
 Element getElement()
          Method getElement returns the DOM Element of this KeyInfoBean object.
 PublicKey getPublicKey()
          Method getPublicKey returns the public key of this KeyInfoBean object.
 int hashCode()
           
 void setCertIdentifer(KeyInfoBean.CERT_IDENTIFIER certIdentifier)
          Method setCertIdentifer sets the cert identifier of this KeyInfoBean object.
 void setCertificate(X509Certificate cert)
          Method setCertificate sets the cert of this KeyInfoBean object.
 void setElement(Element keyInfoElement)
          Method setElement sets the DOM Element of this KeyInfoBean object.
 void setPublicKey(PublicKey publicKey)
          Method setPublicKey sets the publicKey of this KeyInfoBean object.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

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.

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


Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.