Package javacardx.security.cert
Interface X509Certificate.FieldHandler
-
- All Superinterfaces:
CertificateParser.ParserHandler
- Enclosing interface:
- X509Certificate
public static interface X509Certificate.FieldHandler extends CertificateParser.ParserHandler
FieldHandler
is a specializedCertificateParser.ParserHandler
that will be triggered by theCertificateParser
each time a certificate field is found.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
onField(short fieldID, byte[] field)
Override this method to process the certificate element being parsed
-
-
-
Method Detail
-
onField
boolean onField(short fieldID, byte[] field)
Override this method to process the certificate element being parsed- Parameters:
fieldID
- the field identifierfield
- a temporary read-only array view on the specified field.- Returns:
true
to inform the parser to keep the certificate field to be able to use it to initialize a new Certificate instance- See Also:
CertificateParser.parseCert(byte[], short, short, ParserHandler)
,CertificateParser.buildCert(byte[], short, short, ParserHandler)
-
-