Class Index | File Index

Classes


Class KJUR.asn1.x509.SubjectPublicKeyInfo


Extends KJUR.asn1.ASN1Object.
SubjectPublicKeyInfo ASN.1 structure class
Defined in: asn1x509-1.0.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
SubjectPublicKeyInfo ASN.1 structure class
As for argument 'params' for constructor, you can specify one of following properties: NOTE1: 'params' can be omitted.
Fields borrowed from class KJUR.asn1.ASN1Object:
hL, hT, hTLV, hV, isModified
Method Summary
Method Attributes Method Name and Description
 
setPubKey({@link)
Methods borrowed from class KJUR.asn1.ASN1Object:
getEncodedHex, getLengthHexFromValue, getValueHex
Class Detail
KJUR.asn1.x509.SubjectPublicKeyInfo(params)
SubjectPublicKeyInfo ASN.1 structure class
As for argument 'params' for constructor, you can specify one of following properties: NOTE1: 'params' can be omitted.
NOTE2: DSA/ECDSA key object is also supported since asn1x509 1.0.6.

EXAMPLE

spki = new KJUR.asn1.x509.SubjectPublicKeyInfo(RSAKey_object);
spki = new KJUR.asn1.x509.SubjectPublicKeyInfo(KJURcryptoECDSA_object);
spki = new KJUR.asn1.x509.SubjectPublicKeyInfo(KJURcryptoDSA_object);
Parameters:
{Object} params
parameter for subject public key
Method Detail
setPubKey({@link)
spki = new KJUR.asn1.x509.SubjectPublicKeyInfo();
pubKey = KEYUTIL.getKey(PKCS8PUBKEYPEM);
spki.setPubKey(pubKey);
Parameters:
{Object} {@link
RSAKey}, KJUR.crypto.ECDSA or KJUR.crypto.DSA object
Since:
jsrsasign 8.0.0 asn1x509 1.1.0

© 2012-2017 Kenji Urushima, All rights reserved
Documentation generated by JsDoc Toolkit 2.4.0