|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbe.fgov.ehealth.etee.crypto.policies.SigningCredential
public final class SigningCredential
A signing credential consists of a PrivateKey and a chain of certificates.
| Method Summary | |
|---|---|
static SigningCredential |
create(java.security.PrivateKey privateKey,
java.util.List<java.security.cert.X509Certificate> certificateChain)
Create a new SigningCredential with a PrivateKey and a list of certificates. |
static SigningCredential |
create(java.security.PrivateKey privateKey,
java.security.cert.X509Certificate... certificateChain)
Create a new SigningCredential with a PrivateKey and a dynamic list of certificates. |
boolean |
equals(java.lang.Object obj)
|
java.util.List<java.security.cert.X509Certificate> |
getCertificateChain()
|
java.security.PrivateKey |
getPrivateKey()
|
int |
hashCode()
|
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static SigningCredential create(java.security.PrivateKey privateKey,
java.security.cert.X509Certificate... certificateChain)
SigningCredential with a PrivateKey and a dynamic list of certificates.
privateKey - A private key to sign the message.certificateChain - A chain of trusted certificates.
public static SigningCredential create(java.security.PrivateKey privateKey,
java.util.List<java.security.cert.X509Certificate> certificateChain)
SigningCredential with a PrivateKey and a list of certificates.
privateKey - A private key to sign the message.certificateChain - A chain of trusted certificates.
public java.security.PrivateKey getPrivateKey()
public java.util.List<java.security.cert.X509Certificate> getCertificateChain()
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||