Liking cljdoc? Tell your friends :D

jdk.security.spec.X509EncodedKeySpec

This class represents the ASN.1 encoding of a public key, encoded according to the ASN.1 type SubjectPublicKeyInfo. The SubjectPublicKeyInfo syntax is defined in the X.509 standard as follows:

SubjectPublicKeyInfo ::= SEQUENCE { algorithm AlgorithmIdentifier, subjectPublicKey BIT STRING }

This class represents the ASN.1 encoding of a public key,
encoded according to the ASN.1 type SubjectPublicKeyInfo.
The SubjectPublicKeyInfo syntax is defined in the X.509
standard as follows:



SubjectPublicKeyInfo ::= SEQUENCE {
  algorithm AlgorithmIdentifier,
  subjectPublicKey BIT STRING }
raw docstring

->x-509-encoded-key-specclj

(->x-509-encoded-key-spec encoded-key)

Constructor.

Creates a new X509EncodedKeySpec with the given encoded key.

encoded-key - the key, which is assumed to be encoded according to the X.509 standard. The contents of the array are copied to protect against subsequent modification. - byte[]

throws: java.lang.NullPointerException - if encodedKey is null.

Constructor.

Creates a new X509EncodedKeySpec with the given encoded key.

encoded-key - the key, which is assumed to be encoded according to the X.509 standard. The contents of the array are copied to protect against subsequent modification. - `byte[]`

throws: java.lang.NullPointerException - if encodedKey is null.
raw docstring

get-encodedclj

(get-encoded this)

Returns the key bytes, encoded according to the X.509 standard.

returns: the X.509 encoding of the key. Returns a new array each time this method is called. - byte[]

Returns the key bytes, encoded according to the X.509 standard.

returns: the X.509 encoding of the key. Returns a new array
 each time this method is called. - `byte[]`
raw docstring

get-formatclj

(get-format this)

Returns the name of the encoding format associated with this key specification.

returns: the string "X.509". - java.lang.String

Returns the name of the encoding format associated with this
 key specification.

returns: the string "X.509". - `java.lang.String`
raw docstring

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

× close