public class X509CertificateCredential extends Object
Constructor and Description |
---|
X509CertificateCredential(X509Certificate[] certChain,
String alias,
String realm)
Construct a credential with the specified X509Certificate certificate chain, realm name and alias.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o)
Compare two instances of the credential and return true if they are the same and false otherwise.
|
String |
getAlias()
Return the alias for the certificate.
|
String |
getRealm()
Return the realm name.
|
X509Certificate[] |
getX509CertificateChain()
Return the chain of certificates.
|
int |
hashCode()
Return the hashCode computed from the certificate, realm and alias.
|
String |
toString()
String representation of the credential.
|
public X509CertificateCredential(X509Certificate[] certChain, String alias, String realm)
the
- X509Certificate.the
- alias for the certificatethe
- realm name. The only value supported for now is "certificate".public String getAlias()
public String getRealm()
public X509Certificate[] getX509CertificateChain()
public boolean equals(Object o)
public int hashCode()
Copyright © 2018. All rights reserved.