Package se.swedenconnect.cert.extensions
Class BiometricInfo
java.lang.Object
org.bouncycastle.asn1.ASN1Object
se.swedenconnect.cert.extensions.BiometricInfo
- All Implemented Interfaces:
- org.bouncycastle.asn1.ASN1Encodable,- org.bouncycastle.util.Encodable
public class BiometricInfo
extends org.bouncycastle.asn1.ASN1Object
BiometricInfo X.509 extension implementation for extending Bouncycastle.
- Author:
- Martin Lindström (martin@idsec.se), Stefan Santesson (stefan@idsec.se)
- 
Field SummaryFields
- 
Constructor SummaryConstructorsConstructorDescriptionBiometricInfo(List<org.bouncycastle.asn1.x509.qualified.BiometricData> biometricDataList) Constructor
- 
Method SummaryModifier and TypeMethodDescriptionstatic BiometricInfofromExtensions(org.bouncycastle.asn1.x509.Extensions extensions) Creates BiometricInfo extension objectstatic BiometricInfogetInstance(Object obj) Creates BiometricInfo extension objectstatic StringgetTypeString(org.bouncycastle.asn1.x509.qualified.TypeOfBiometricData typeOfBiometricData) Get a string representing the type of biometric dataorg.bouncycastle.asn1.ASN1PrimitiveProduce an object suitable for an ASN1OutputStream.toString()Methods inherited from class org.bouncycastle.asn1.ASN1ObjectencodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
- 
Field Details- 
OIDpublic static final org.bouncycastle.asn1.ASN1ObjectIdentifier OID
 
- 
- 
Constructor Details- 
BiometricInfoConstructor- Parameters:
- biometricDataList- List of biometric data
 
 
- 
- 
Method Details- 
getInstanceCreates BiometricInfo extension object- Parameters:
- obj- object holding extension data
- Returns:
- BiometricInfo extension
 
- 
fromExtensionsCreates BiometricInfo extension object- Parameters:
- extensions- BiometricInfo extension
- Returns:
- BiometricInfo extension
 
- 
toASN1Primitivepublic org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()Produce an object suitable for an ASN1OutputStream.AuthenticationContexts ::= SEQUENCE SIZE (1..MAX) OF AuthenticationContext AuthenticationContext ::= SEQUENCE { contextType UTF8String, contextInfo UTF8String OPTIONAL }- Specified by:
- toASN1Primitivein interface- org.bouncycastle.asn1.ASN1Encodable
- Specified by:
- toASN1Primitivein class- org.bouncycastle.asn1.ASN1Object
- Returns:
- ASN.1 object of the extension
 
- 
toString
- 
getTypeStringpublic static String getTypeString(org.bouncycastle.asn1.x509.qualified.TypeOfBiometricData typeOfBiometricData) Get a string representing the type of biometric data- Parameters:
- typeOfBiometricData- type of biomentric data
- Returns:
- presentation string representing type
 
 
-