示例#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));
     }
 }
示例#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));
     }
 }
示例#3
0
 public KeyIdentifier()
 {
     extendedSerialNumber      = new ExtendedSerialNumber();
     certificateRequestID      = new CertificateRequestID();
     certificationAuthorityKID = new CertificationAuthorityKID();
 }
示例#4
0
 public KeyIdentifier()
 {
     extendedSerialNumber = new ExtendedSerialNumber();
     certificateRequestID = new CertificateRequestID();
     certificationAuthorityKID = new CertificationAuthorityKID();
 }