|
|||||||||
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 String |
TRUST_STORE_USAGE_TYPE_LCRE
|
static String |
TRUST_STORE_USAGE_TYPE_LCRE_DEFAULT
|
static String |
TRUST_STORE_USAGE_TYPE_SIGN
|
static int |
U_PWD
Represents the password value. |
Constructor Summary | |
---|---|
CredentialBO(CredentialBO other)
A CredentialBO constructor. |
|
CredentialBO(String alias,
KeyPair keyPair,
String keyPassword,
byte[][] certificateChain,
String[] credentialUseTypes)
A CredentialBO constructor. |
|
CredentialBO(String alias,
KeyPair keyPair,
String keyPassword,
Certificate[] certificateChain,
String[] credentialUseTypes)
A CredentialBO constructor. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
Two CertificateBO Objects are equal if their private keys are equal |
String |
getAlias()
Returns the alias value. |
Certificate[] |
getCertificateChain()
Get the certificate chain for this credential. |
String[] |
getCredentialUseTypes()
Gets the multiple use types for the credential. |
Date |
getExpirationDate()
Returns the expiration date. |
String |
getIssuer()
Returns the issuer of the credential. |
KeyPair |
getKeyPair()
Returns the key pair. |
String |
getKeyPassword()
Get the optional password that will be used to encrypt the private key before storage. |
SignExecutor |
getSignatureExecutor()
For internal use only. |
String |
getSubject()
Returns the principal identifier value of the credential. |
int |
hashCode()
|
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 String TRUST_STORE_USAGE_TYPE_SIGN
public static String TRUST_STORE_USAGE_TYPE_LCRE
public static String TRUST_STORE_USAGE_TYPE_LCRE_DEFAULT
Constructor Detail |
---|
public CredentialBO(String alias, KeyPair keyPair, String keyPassword, Certificate[] certificateChain, 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(String alias, KeyPair keyPair, String keyPassword, byte[][] certificateChain, 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 String getAlias()
public Date getExpirationDate()
Date
instance that represents the expiration value.public String getIssuer()
public String getSubject()
public KeyPair getKeyPair()
KeyPair
instance that represents the Key Pair.public String getKeyPassword()
public Certificate[] getCertificateChain()
public String[] getCredentialUseTypes()
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |