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)); } }
public KeyIdentifier() { extendedSerialNumber = new ExtendedSerialNumber(); certificateRequestID = new CertificateRequestID(); certificationAuthorityKID = new CertificationAuthorityKID(); }