com.adobe.truststore.businessobject
Class CredentialBO
java.lang.Object
com.adobe.truststore.businessobject.CredentialBO
- All Implemented Interfaces:
- java.io.Serializable
public class CredentialBO
- extends java.lang.Object
- implements java.io.Serializable
- See Also:
- Serialized Form
Constructor Summary |
CredentialBO(CredentialBO other)
|
CredentialBO(java.lang.String alias,
java.security.KeyPair keyPair,
java.lang.String keyPassword,
byte[][] certificateChain,
java.lang.String[] credentialUseTypes)
|
CredentialBO(java.lang.String alias,
java.security.KeyPair keyPair,
java.lang.String keyPassword,
java.security.cert.Certificate[] certificateChain,
java.lang.String[] credentialUseTypes)
|
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
LOCAL
public static final int LOCAL
- See Also:
- Constant Field Values
HSM
public static final int HSM
- See Also:
- Constant Field Values
U_PWD
public static final int U_PWD
- See Also:
- Constant Field Values
TRUST_STORE_USAGE_TYPE_SIGN
public static java.lang.String TRUST_STORE_USAGE_TYPE_SIGN
TRUST_STORE_USAGE_TYPE_LCRE
public static java.lang.String TRUST_STORE_USAGE_TYPE_LCRE
TRUST_STORE_USAGE_TYPE_LCRE_DEFAULT
public static java.lang.String TRUST_STORE_USAGE_TYPE_LCRE_DEFAULT
CredentialBO
public CredentialBO(java.lang.String alias,
java.security.KeyPair keyPair,
java.lang.String keyPassword,
java.security.cert.Certificate[] certificateChain,
java.lang.String[] credentialUseTypes)
CredentialBO
public CredentialBO(java.lang.String alias,
java.security.KeyPair keyPair,
java.lang.String keyPassword,
byte[][] certificateChain,
java.lang.String[] credentialUseTypes)
CredentialBO
public CredentialBO(CredentialBO other)
getSignatureExecutor
public SignExecutor getSignatureExecutor()
type
public int type()
getAlias
public java.lang.String getAlias()
- Returns:
- Returns the alias.
getExpirationDate
public java.util.Date getExpirationDate()
- Returns:
- Returns the expirationDate.
getIssuer
public java.lang.String getIssuer()
- Returns:
- Returns the issuer.
getSubject
public java.lang.String getSubject()
- Returns:
- Returns the principalId.
getKeyPair
public java.security.KeyPair getKeyPair()
- Returns:
- Returns the Key Pair.
getKeyPassword
public java.lang.String getKeyPassword()
- Get the optional password that will be used to encrypt the
Private Key before storage
getCertificateChain
public java.security.cert.Certificate[] getCertificateChain()
- Get the certificate chain for this credential
getCredentialUseTypes
public java.lang.String[] getCredentialUseTypes()
- getCredentialUseType - get multiple use types per credential
- Returns:
equals
public boolean equals(java.lang.Object obj)
- Two CertificateBO Objects are equal if their private
keys are equal
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object