Exemplo n.º 1
0
 public CertificateContent(byte[] value, short kidType)
 {
     certificateProfileIdentifier    = ConvertionClass.convertIntoUnsigned1ByteInt(value[0]);
     certificationAuthorityReference = new KeyIdentifier(ConvertionClass.arrayCopy(value, 1, 8), kidType);
     certificateHolderAuthorisation  = new CertificateHolderAuthorisation(ConvertionClass.arrayCopy(value, 9, 7));
     certificateEndOfValidity        = new TimeReal(ConvertionClass.arrayCopy(value, 16, 4));
     certificateHolderReference      = new KeyIdentifier(ConvertionClass.arrayCopy(value, 20, 8), kidType);
     publicKey = new PublicKey(ConvertionClass.arrayCopy(value, 28, 136));
 }
Exemplo n.º 2
0
 public CertificateContent(byte[] value, short kidType)
 {
     certificateProfileIdentifier = ConvertionClass.convertIntoUnsigned1ByteInt(value[0]);
     certificationAuthorityReference = new KeyIdentifier(ConvertionClass.arrayCopy(value, 1, 8), kidType);
     certificateHolderAuthorisation = new CertificateHolderAuthorisation(ConvertionClass.arrayCopy(value, 9, 7));
     certificateEndOfValidity = new TimeReal(ConvertionClass.arrayCopy(value, 16, 4));
     certificateHolderReference = new KeyIdentifier(ConvertionClass.arrayCopy(value, 20, 8), kidType);
     publicKey = new PublicKey(ConvertionClass.arrayCopy(value, 28, 136));
 }
Exemplo n.º 3
0
 public CertificateContent()
 {
     certificateProfileIdentifier    = 0;
     certificationAuthorityReference = new KeyIdentifier();
     certificateHolderAuthorisation  = new CertificateHolderAuthorisation();
     certificateEndOfValidity        = new TimeReal();
     certificateHolderReference      = new KeyIdentifier();
     publicKey = new PublicKey();
 }
Exemplo n.º 4
0
 public CertificateContent()
 {
     certificateProfileIdentifier = 0;
     certificationAuthorityReference = new KeyIdentifier();
     certificateHolderAuthorisation = new CertificateHolderAuthorisation();
     certificateEndOfValidity = new TimeReal();
     certificateHolderReference = new KeyIdentifier();
     publicKey = new PublicKey();
 }