Liking cljdoc? Tell your friends :D

javax.security.auth.x500.X500PrivateCredential

This class represents an X500PrivateCredential. It associates an X.509 certificate, corresponding private key and the KeyStore alias used to reference that exact key pair in the KeyStore. This enables looking up the private credentials for an X.500 principal in a subject.

 This class represents an X500PrivateCredential.
It associates an X.509 certificate, corresponding private key and the
KeyStore alias used to reference that exact key pair in the KeyStore.
This enables looking up the private credentials for an X.500 principal
in a subject.
raw docstring

->x-500-private-credentialclj

(->x-500-private-credential cert key)
(->x-500-private-credential cert key alias)

Constructor.

Creates an X500PrivateCredential that associates an X.509 certificate, a private key and the KeyStore alias.

cert - X509Certificate - java.security.cert.X509Certificate key - PrivateKey for the certificate - java.security.PrivateKey alias - KeyStore alias - java.lang.String

throws: java.lang.IllegalArgumentException - if either cert, key or alias is null

Constructor.

Creates an X500PrivateCredential that associates an X.509 certificate,
 a private key and the KeyStore alias.

cert - X509Certificate - `java.security.cert.X509Certificate`
key - PrivateKey for the certificate - `java.security.PrivateKey`
alias - KeyStore alias - `java.lang.String`

throws: java.lang.IllegalArgumentException - if either cert, key or alias is null
raw docstring

destroyclj

(destroy this)

Clears the references to the X.509 certificate, private key and the KeyStore alias in this object.

Clears the references to the X.509 certificate, private key and the
KeyStore alias in this object.
raw docstring

destroyed?clj

(destroyed? this)

Determines if the references to the X.509 certificate and private key in this object have been cleared.

returns: true if X509Certificate and the PrivateKey are null - boolean

Determines if the references to the X.509 certificate and private key
 in this object have been cleared.

returns: true if X509Certificate and the PrivateKey are null - `boolean`
raw docstring

get-aliasclj

(get-alias this)

Returns the KeyStore alias.

returns: the KeyStore alias - java.lang.String

Returns the KeyStore alias.

returns: the KeyStore alias - `java.lang.String`
raw docstring

get-certificateclj

(get-certificate this)

Returns the X.509 certificate.

returns: the X509Certificate - java.security.cert.X509Certificate

Returns the X.509 certificate.

returns: the X509Certificate - `java.security.cert.X509Certificate`
raw docstring

get-private-keyclj

(get-private-key this)

Returns the PrivateKey.

returns: the PrivateKey - java.security.PrivateKey

Returns the PrivateKey.

returns: the PrivateKey - `java.security.PrivateKey`
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close