Package org.jmrtd.lds

Class SecurityInfo

    • Field Detail

      • ID_AA

        public static final String ID_AA
        Used in ECDSA based Active Authentication. {joint-iso-itu-t(2) international-organizations(23) 136 mrtd(1) security(1) aaProtocolObject(5)}.
        See Also:
        Constant Field Values
      • ID_PK_DH

        public static final String ID_PK_DH
      • ID_PK_ECDH

        public static final String ID_PK_ECDH
      • ID_CA_DH_3DES_CBC_CBC

        public static final String ID_CA_DH_3DES_CBC_CBC
        Used in Chip Authentication 1 and 2.
      • ID_CA_ECDH_3DES_CBC_CBC

        public static final String ID_CA_ECDH_3DES_CBC_CBC
        Used in Chip Authentication 1 and 2.
      • ID_CA_DH_AES_CBC_CMAC_128

        public static final String ID_CA_DH_AES_CBC_CMAC_128
        Used in Chip Authentication 1 and 2.
        See Also:
        Constant Field Values
      • ID_CA_DH_AES_CBC_CMAC_192

        public static final String ID_CA_DH_AES_CBC_CMAC_192
        Used in Chip Authentication 1 and 2.
        See Also:
        Constant Field Values
      • ID_CA_DH_AES_CBC_CMAC_256

        public static final String ID_CA_DH_AES_CBC_CMAC_256
        Used in Chip Authentication 1 and 2.
        See Also:
        Constant Field Values
      • ID_CA_ECDH_AES_CBC_CMAC_128

        public static final String ID_CA_ECDH_AES_CBC_CMAC_128
        Used in Chip Authentication 1 and 2.
        See Also:
        Constant Field Values
      • ID_CA_ECDH_AES_CBC_CMAC_192

        public static final String ID_CA_ECDH_AES_CBC_CMAC_192
        Used in Chip Authentication 1 and 2.
        See Also:
        Constant Field Values
      • ID_CA_ECDH_AES_CBC_CMAC_256

        public static final String ID_CA_ECDH_AES_CBC_CMAC_256
        Used in Chip Authentication 1 and 2.
        See Also:
        Constant Field Values
      • ID_TA

        public static final String ID_TA
        Used in Terminal Authentication 1 and 2.
      • ID_TA_RSA

        public static final String ID_TA_RSA
        Used in Terminal Authentication 1 and 2.
      • ID_TA_RSA_V1_5_SHA_1

        public static final String ID_TA_RSA_V1_5_SHA_1
        Used in Terminal Authentication 1 and 2.
      • ID_TA_RSA_V1_5_SHA_256

        public static final String ID_TA_RSA_V1_5_SHA_256
        Used in Terminal Authentication 1 and 2.
      • ID_TA_RSA_PSS_SHA_1

        public static final String ID_TA_RSA_PSS_SHA_1
        Used in Terminal Authentication 1 and 2.
      • ID_TA_RSA_PSS_SHA_256

        public static final String ID_TA_RSA_PSS_SHA_256
        Used in Terminal Authentication 1 and 2.
      • ID_TA_ECDSA

        public static final String ID_TA_ECDSA
        Used in Terminal Authentication 1 and 2.
      • ID_TA_ECDSA_SHA_1

        public static final String ID_TA_ECDSA_SHA_1
        Used in Terminal Authentication 1 and 2.
      • ID_TA_ECDSA_SHA_224

        public static final String ID_TA_ECDSA_SHA_224
        Used in Terminal Authentication 1 and 2.
      • ID_TA_ECDSA_SHA_256

        public static final String ID_TA_ECDSA_SHA_256
        Used in Terminal Authentication 1 and 2.
      • ID_EC_PUBLIC_KEY_TYPE

        public static final String ID_EC_PUBLIC_KEY_TYPE
      • ID_EC_PUBLIC_KEY

        public static final String ID_EC_PUBLIC_KEY
    • Constructor Detail

      • SecurityInfo

        public SecurityInfo()
    • Method Detail

      • getDERObject

        @Deprecated
        public abstract ASN1Primitive getDERObject()
        Deprecated.
        this method will be removed from visible interface (because of dependency on BC API)
        Returns a DER object with this SecurityInfo data (DER sequence).
        Returns:
        a DER object with this SecurityInfo data
      • getObjectIdentifier

        public abstract String getObjectIdentifier()
        Returns the protocol object identifier of this SecurityInfo.
        Returns:
        this protocol object identifier
      • getProtocolOIDString

        public abstract String getProtocolOIDString()
        Returns the protocol object identifier as a human readable string.
        Returns:
        a human readable string representing the protocol object identifier
      • getInstance

        public static SecurityInfo getInstance​(ASN1Primitive obj)
        Factory method for creating security info objects given an input.
        Parameters:
        obj - the input
        Returns:
        a concrete security info object