Beispiel #1
0
 public BiometricData(
     TypeOfBiometricData typeOfBiometricData,
     AlgorithmIdentifier hashAlgorithm,
     Asn1OctetString biometricDataHash)
 {
     this.typeOfBiometricData = typeOfBiometricData;
     this.hashAlgorithm       = hashAlgorithm;
     this.biometricDataHash   = biometricDataHash;
     this.sourceDataUri       = null;
 }
Beispiel #2
0
        private BiometricData(
            Asn1Sequence seq)
        {
            typeOfBiometricData = TypeOfBiometricData.GetInstance(seq[0]);
            hashAlgorithm       = AlgorithmIdentifier.GetInstance(seq[1]);
            biometricDataHash   = Asn1OctetString.GetInstance(seq[2]);

            if (seq.Count > 3)
            {
                sourceDataUri = DerIA5String.GetInstance(seq[3]);
            }
        }