Esempio n. 1
0
 public KeyIdentifier(byte[] value, short kidType)
 {
     this.kidType = kidType;
     if (kidType == KIDTYPE_PK_VU_TC)
     {
         extendedSerialNumber = new ExtendedSerialNumber(ConvertionClass.arrayCopy(value, 0, 8));
     }
     else if (kidType == KIDTYPE_PK_VU)
     {
         certificateRequestID = new CertificateRequestID(ConvertionClass.arrayCopy(value, 0, 8));
     }
     else
     {
         certificationAuthorityKID = new CertificationAuthorityKID(ConvertionClass.arrayCopy(value, 0, 8));
     }
 }
Esempio n. 2
0
 public KeyIdentifier(byte[] value, short kidType)
 {
     this.kidType = kidType;
     if (kidType == KIDTYPE_PK_VU_TC)
     {
         extendedSerialNumber = new ExtendedSerialNumber(ConvertionClass.arrayCopy(value, 0, 8));
     }
     else if (kidType == KIDTYPE_PK_VU)
     {
         certificateRequestID = new CertificateRequestID(ConvertionClass.arrayCopy(value, 0, 8));
     }
     else
     {
         certificationAuthorityKID = new CertificationAuthorityKID(ConvertionClass.arrayCopy(value, 0, 8));
     }
 }
Esempio n. 3
0
 public KeyIdentifier()
 {
     extendedSerialNumber      = new ExtendedSerialNumber();
     certificateRequestID      = new CertificateRequestID();
     certificationAuthorityKID = new CertificationAuthorityKID();
 }
Esempio n. 4
0
 public KeyIdentifier()
 {
     extendedSerialNumber = new ExtendedSerialNumber();
     certificateRequestID = new CertificateRequestID();
     certificationAuthorityKID = new CertificationAuthorityKID();
 }