public class CertificateCredential extends PasswordCredential
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
certfile
This member variables holds the URI of the file containing the certificate.
|
Constructor and Description |
---|
CertificateCredential(java.lang.String username,
java.lang.String certfile,
char[] passphrase)
Constructs a
CertificateCredential out of a username, a certificate file containing a private key, and an optional passphrase. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getCertificateFile()
Returns the certificate file.
|
int |
hashCode() |
java.lang.String |
toString() |
getPassword, getUsername
private java.lang.String certfile
public CertificateCredential(java.lang.String username, java.lang.String certfile, char[] passphrase)
CertificateCredential
out of a username, a certificate file containing a private key, and an optional passphrase.username
- the username for this certificatecertfile
- the certification filepassphrase
- the optional passphrase needed to decrypt for this certificatepublic java.lang.String getCertificateFile()
public java.lang.String toString()
toString
in class PasswordCredential
public boolean equals(java.lang.Object o)
equals
in class PasswordCredential
public int hashCode()
hashCode
in class PasswordCredential