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 }
(->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.
(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[]`
(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`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close