Class EAC2CVCertificateGenerator

Object
   |
   +--EAC2CVCertificateGenerator

class EAC2CVCertificateGenerator


Class implementing a generator for CV certificates according to EAC 1.1 and EAC 2.0 specifications.
Defined in EAC2CVCertificateGenerator.js


Field Summary
 Object crypto
          
 
Constructor Summary
EAC2CVCertificateGenerator(<Crypto> crypto)
            Define a generator object for CV certificates
 
Method Summary
 CVC generateCVCertificate(<Key> signingKey, outertaOID)
           Generate a certificate based on the parameter set using the setter methods.
 void setCAR(<String> CAR)
           Set the certification authority reference
 void setChatAuthorizationLevel(<ByteString> authLevel)
           Set the authorization level of the authorization template for the generated certificate
 void setChatOID(<ByteString> oid)
           Set the object identifier of the authorization template for the generated certificate
 void setCHR(<String> CHR)
           Set the certificate holder reference
 void setEffectiveDate(<String> effectiveDate)
           Set the effective date
 void setExpiryDate(<String> expiryDate)
           Set the expiry date
 void setExtensions(extensions)
           Set some additional extensions
 void setIncludeDomainParameters(<Boolean> value)
           Set whether to include domain parameters in the certificate or not
 void setProfileIdentifier(<Number> profileID)
           Set the profile identifier
 void setPublicKey(<Key> publicKey)
           Set the public key to be included in the certificate
 void setTAAlgorithmIdentifier(<ByteString> oid)
           Set the algorithm identifier for terminal authentication
 ByteString stripLeadingZeros(<ByteString> value)
           Strips leading zeros of a ByteString
<static> ByteString decodeUncompressedECPoint(<ByteString> uncompressedPoint)
           Decode x/y coordinates from uncompressed format
<static> String dtos(<Date> d)
           Convert date to string with format YYMMDD.
<static> ByteString encodeUncompressedECPoint(<ByteString> x,<ByteString> y)
           Convert x/y coordinates to uncompressed format

Field Detail

crypto

Object crypto

Constructor Detail

EAC2CVCertificateGenerator

EAC2CVCertificateGenerator(<Crypto> crypto)

Method Detail

generateCVCertificate

CVC generateCVCertificate(<Key> signingKey, outertaOID)

setCAR

void setCAR(<String> CAR)

setChatAuthorizationLevel

void setChatAuthorizationLevel(<ByteString> authLevel)

setChatOID

void setChatOID(<ByteString> oid)

setCHR

void setCHR(<String> CHR)

setEffectiveDate

void setEffectiveDate(<String> effectiveDate)

setExpiryDate

void setExpiryDate(<String> expiryDate)

setExtensions

void setExtensions(extensions)

setIncludeDomainParameters

void setIncludeDomainParameters(<Boolean> value)

setProfileIdentifier

void setProfileIdentifier(<Number> profileID)

setPublicKey

void setPublicKey(<Key> publicKey)

setTAAlgorithmIdentifier

void setTAAlgorithmIdentifier(<ByteString> oid)

stripLeadingZeros

ByteString stripLeadingZeros(<ByteString> value)

decodeUncompressedECPoint

<static> ByteString decodeUncompressedECPoint(<ByteString> uncompressedPoint)

dtos

<static> String dtos(<Date> d)

encodeUncompressedECPoint

<static> ByteString encodeUncompressedECPoint(<ByteString> x,<ByteString> y)


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