Class ChipAuthenticationPublicKeyInfo

Object
   |
   +--ChipAuthenticationPublicKeyInfo

class ChipAuthenticationPublicKeyInfo


This class encodes and decodes ChipAuthenticationPublicKeyInfo objects.

The class implements the following ASN.1 syntax:

	ChipAuthenticationPublicKeyInfo ::= SEQUENCE {
		protocol OBJECT IDENTIFIER(id-PK-DH | id-PK-ECDH),
		chipAuthenticationPublicKey SubjectPublicKeyInfo,
		keyId INTEGER OPTIONAL
	}

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

	AlgorithmIdentifier ::= SEQUENCE {
		algorithm  OBJECT IDENTIFIER,
		parameters ANY DEFINED BY algorithm OPTIONAL
	}
 

Defined in chipauthentication.js


Field Summary
 Object algorithm
          
 Object domainParameter
          
 Object keyId
          
 Object protocol
          
 Object publicKey
          
 Object standardizedDomainParameter
          
 
Constructor Summary
ChipAuthenticationPublicKeyInfo(tlv)
            Create a ChipAuthenticationPublicKeyInfo object
 
Method Summary
 Object toString()
          
 ASN1 toTLV()
           Convert object to TLV structure
<static> ByteString convertUnsignedInteger(<ByteString> value)
           Removes leading zeros and prepends a single '00' to ByteStrings which have the most significant bit set.
<static> ASN1 createECSubjectPublicKeyInfo(publicKey, encodeECDomainParameter)
           Creates the EC Public Key as subjectPublicKeyInfo TLV structure object.

Field Detail

algorithm

Object algorithm

domainParameter

Object domainParameter

keyId

Object keyId

protocol

Object protocol

publicKey

Object publicKey

standardizedDomainParameter

Object standardizedDomainParameter

Constructor Detail

ChipAuthenticationPublicKeyInfo

ChipAuthenticationPublicKeyInfo(tlv)

Method Detail

toString

Object toString()

toTLV

ASN1 toTLV()

convertUnsignedInteger

<static> ByteString convertUnsignedInteger(<ByteString> value)

createECSubjectPublicKeyInfo

<static> ASN1 createECSubjectPublicKeyInfo(publicKey, encodeECDomainParameter)


Documentation generated by JSDoc on Tue Sep 3 22:29:38 2013