Class EAC2CVRequestGenerator

Object
   |
   +--EAC2CVRequestGenerator

class EAC2CVRequestGenerator


Class implementing a generator for CVC requests
Defined in EAC2CVRequestGenerator.js


Field Summary
 Object crypto
          
 
Constructor Summary
EAC2CVRequestGenerator(crypto)
            Constructor for request generator
 
Method Summary
 ASN1 generateAuthenticatedCVRequest(<Key> requestKey, <Key> authenticationKey, <PublicKeyReference> authCHR, outertaOID)
           Generate authenticated request
 ASN1 generateCVRequest(<Key> privateKey)
           Generate initial certificate request using the specified private key for signing
 void reset()
           Reset the current generator object
 void setCAR(<String> car)
           Set the certficate authorization reference (CAR) for the request
 void setCHR(<String> chr)
           Set the certficate holder reference (CHR) for the request
 void setExtensions(<ByteString[]> extensions)
           Set the extension values that should be included within the request
 void setProfileIdentifier(<Number> profileID)
           Set the certificate profile identifier (CPI) for the request
 void setPublicKey(<Key> publicKey)
           Set the public key that should be encoded within the request
 void setTAAlgorithmIdentifier(<ByteString> oid)
           Set the object identifier that should be included in the public key domain parameters
<static> Object encodeUncompressedECPoint(x, y)
          
<static> ASN1 signAuthenticatedCVRequest(<Crypto> crypto, <CVC> request, <Key> authenticationKey, <PublicKeyReference> authCHR, outertaOID)
           Countersign request
<static> ByteString TODO: Move to Utils stripLeadingZeros(<ByteString> value)
           Strips leading zeros of a ByteString

Field Detail

crypto

Object crypto

Constructor Detail

EAC2CVRequestGenerator

EAC2CVRequestGenerator(crypto)

Method Detail

generateAuthenticatedCVRequest

ASN1 generateAuthenticatedCVRequest(<Key> requestKey, <Key> authenticationKey, <PublicKeyReference> authCHR, outertaOID)

generateCVRequest

ASN1 generateCVRequest(<Key> privateKey)

reset

void reset()

setCAR

void setCAR(<String> car)

setCHR

void setCHR(<String> chr)

setExtensions

void setExtensions(<ByteString[]> extensions)

setProfileIdentifier

void setProfileIdentifier(<Number> profileID)

setPublicKey

void setPublicKey(<Key> publicKey)

setTAAlgorithmIdentifier

void setTAAlgorithmIdentifier(<ByteString> oid)

encodeUncompressedECPoint

<static> Object encodeUncompressedECPoint(x, y)

signAuthenticatedCVRequest

<static> ASN1 signAuthenticatedCVRequest(<Crypto> crypto, <CVC> request, <Key> authenticationKey, <PublicKeyReference> authCHR, outertaOID)

stripLeadingZeros

<static> ByteString   TODO: Move to Utils stripLeadingZeros(<ByteString> value)


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