Package de.gematik.bbriccs.smartcards
Class SmartcardP12
java.lang.Object
de.gematik.bbriccs.smartcards.SmartcardP12
- All Implemented Interfaces:
Smartcard
- Direct Known Subclasses:
EgkP12,InstituteSmartcardP12
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedSmartcardP12(SmartcardType type, SmartcardConfigDto config, List<SmartcardCertificate> certificates) -
Method Summary
Modifier and TypeMethodDescriptiongetAutCertificate(de.gematik.bbriccs.crypto.CryptoSystem cryptoSystem) <E extends SmartcardExtension>
EgetExtensionAs(Class<E> extensionType) protected Optional<SmartcardCertificate>getKey(de.gematik.bbriccs.crypto.certificate.Oid oid, de.gematik.bbriccs.crypto.CryptoSystem cryptoSystem) toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface de.gematik.bbriccs.smartcards.Smartcard
getAutOids, getIccsn, getOwnerData, getType
-
Constructor Details
-
SmartcardP12
protected SmartcardP12(SmartcardType type, SmartcardConfigDto config, List<SmartcardCertificate> certificates)
-
-
Method Details
-
getAutCertificate
- Specified by:
getAutCertificatein interfaceSmartcard
-
getAutCertificate
public Optional<SmartcardCertificate> getAutCertificate(de.gematik.bbriccs.crypto.CryptoSystem cryptoSystem) - Specified by:
getAutCertificatein interfaceSmartcard
-
getAuthPrivateKey
- Specified by:
getAuthPrivateKeyin interfaceSmartcard
-
getAuthPublicKey
- Specified by:
getAuthPublicKeyin interfaceSmartcard
-
getPrivateKeyBase64
- Specified by:
getPrivateKeyBase64in interfaceSmartcard
-
getKey
protected Optional<SmartcardCertificate> getKey(de.gematik.bbriccs.crypto.certificate.Oid oid, de.gematik.bbriccs.crypto.CryptoSystem cryptoSystem) -
getExtension
- Specified by:
getExtensionin interfaceSmartcard
-
getExtensionAs
- Specified by:
getExtensionAsin interfaceSmartcard
-
toString
-