|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.adobe.truststore.businessobject.CredentialBO
public class CredentialBO
Represents a LiveCycle ES credential. You can use an instance of this type to
perform tasks such as updating a credential.
Methods that belong to the CredentialServiceClient
object returns
an instance of this type. For example, the findCredentialByAlias
method
returns an instance of this type.
Field Summary | |
---|---|
static int |
HSM
Represents the HSM value. |
static int |
LOCAL
Represents the local value. |
static java.lang.String |
TRUST_STORE_USAGE_TYPE_LCRE
|
static java.lang.String |
TRUST_STORE_USAGE_TYPE_LCRE_DEFAULT
|
static java.lang.String |
TRUST_STORE_USAGE_TYPE_SIGN
|
static int |
U_PWD
Represents the password value. |
Constructor Summary | |
---|---|
CredentialBO(CredentialBO other)
A CredentialBO constructor. |
|
CredentialBO(java.lang.String alias,
java.security.KeyPair keyPair,
java.lang.String keyPassword,
byte[][] certificateChain,
java.lang.String[] credentialUseTypes)
A CredentialBO constructor. |
|
CredentialBO(java.lang.String alias,
java.security.KeyPair keyPair,
java.lang.String keyPassword,
java.security.cert.Certificate[] certificateChain,
java.lang.String[] credentialUseTypes)
A CredentialBO constructor. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
Two CertificateBO Objects are equal if their private keys are equal |
java.lang.String |
getAlias()
Returns the alias value. |
java.security.cert.Certificate[] |
getCertificateChain()
Get the certificate chain for this credential. |
java.lang.String[] |
getCredentialUseTypes()
Gets the multiple use types for the credential. |
java.util.Date |
getExpirationDate()
Returns the expiration date. |
java.lang.String |
getIssuer()
Returns the issuer of the credential. |
java.security.KeyPair |
getKeyPair()
Returns the key pair. |
java.lang.String |
getKeyPassword()
Get the optional password that will be used to encrypt the private key before storage. |
SignExecutor |
getSignatureExecutor()
For internal use only. |
java.lang.String |
getSubject()
Returns the principal identifier value of the credential. |
int |
hashCode()
|
java.lang.String |
toString()
|
int |
type()
Returns the credential type. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int LOCAL
public static final int HSM
public static final int U_PWD
public static java.lang.String TRUST_STORE_USAGE_TYPE_SIGN
public static java.lang.String TRUST_STORE_USAGE_TYPE_LCRE
public static java.lang.String TRUST_STORE_USAGE_TYPE_LCRE_DEFAULT
Constructor Detail |
---|
public CredentialBO(java.lang.String alias, java.security.KeyPair keyPair, java.lang.String keyPassword, java.security.cert.Certificate[] certificateChain, java.lang.String[] credentialUseTypes)
CredentialBO
constructor.
alias
- A string value that represents the alias value.KeyPair
- A java.security.KeyPair
instance.An
- array of Certificate
instances.An
- array of string values that represents the credential types.public CredentialBO(java.lang.String alias, java.security.KeyPair keyPair, java.lang.String keyPassword, byte[][] certificateChain, java.lang.String[] credentialUseTypes)
CredentialBO
constructor.
alias
- A string value that represents the alias value.KeyPair
- A java.security.KeyPair
instance.keyPassword
- A string value that represents the password.certificateChain
- An array of bytes where each element is a byte array.credentialUseTypes
- An array of string values that represents the credential types.public CredentialBO(CredentialBO other)
CredentialBO
constructor.
other
- A CredentialBO
instance on which this instance is based.Method Detail |
---|
public SignExecutor getSignatureExecutor()
public int type()
public java.lang.String getAlias()
public java.util.Date getExpirationDate()
Date
instance that represents the expiration value.public java.lang.String getIssuer()
public java.lang.String getSubject()
public java.security.KeyPair getKeyPair()
KeyPair
instance that represents the Key Pair.public java.lang.String getKeyPassword()
public java.security.cert.Certificate[] getCertificateChain()
public java.lang.String[] getCredentialUseTypes()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |