Package pt.gov.cartaodecidadao
Class PTEID_PublicKey
java.lang.Object
pt.gov.cartaodecidadao.PTEID_Object
pt.gov.cartaodecidadao.PTEID_PublicKey
Class that represents the card authentication public key - to be used in a mutual authentication process (1024 bit
RSA key) This key is totally unrelated to the citizen authentication key which is present in the authentication
certificate
RSA key) This key is totally unrelated to the citizen authentication key which is present in the authentication
certificate
-
Method Summary
Modifier and TypeMethodDescriptionvoiddelete()Return the EC public key data in uncompressed format.Return the RSA public key exponent if this object contains an RSA public keyReturn the RSA public key module if this object contains an RSA public keybooleanReturn true if this object contains an Elliptic Curve public key instead of RSA
-
Method Details
-
delete
public void delete()- Overrides:
deletein classPTEID_Object
-
getCardAuthKeyModulus
Return the RSA public key module if this object contains an RSA public key -
getCardAuthKeyExponent
Return the RSA public key exponent if this object contains an RSA public key -
isECCPublicKey
public boolean isECCPublicKey()Return true if this object contains an Elliptic Curve public key instead of RSA -
getCardAuthECCKey
Return the EC public key data in uncompressed format. This is only applicable for objects coming from PTEID_CARDTYPE_IAS5 cards. -
getECCCurveIdentifier
-