Class SecurityOptions


  • public final class SecurityOptions
    extends DecoderObject
    Opciones de seguridad de un eMRTD contenidos en el DG14. Básicamente es un TLV en cuyos datos encontramos la siguiente estructura ASN.1:
       SecurityInfos ::= SET of SecurityInfo
       SecurityInfo ::= SEQUENCE {
         protocol OBJECT IDENTIFIER,
         requiredData ANY DEFINED BY protocol,
         optionalData ANY DEFINED BY protocol OPTIONAL
       }
     
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static byte TAG  
    • Constructor Summary

      Constructors 
      Constructor Description
      SecurityOptions()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void decodeValue()
      Decodifica el valor DER establecido comprobando que corresponde al esperado y formando las estructuras internas.
      protected byte getDefaultTag()
      Obtiene la etiqueta de tipo ASN.1 del objeto.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • SecurityOptions

        public SecurityOptions()
    • Method Detail

      • getDefaultTag

        protected byte getDefaultTag()
        Description copied from class: DecoderObject
        Obtiene la etiqueta de tipo ASN.1 del objeto.
        Specified by:
        getDefaultTag in class DecoderObject
        Returns:
        Etiqueta de tipo ASN.1 del objeto.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object