Skip to content

Commit

Permalink
deploy: c35fe80
Browse files Browse the repository at this point in the history
  • Loading branch information
andrei-cristea committed Feb 22, 2024
1 parent 0d18c4c commit d871e95
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
13 changes: 8 additions & 5 deletions 0.2.0-SNAPSHOT/api_class_diagram.puml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title
<img:../assets/logo.svg{scale=0.2}>

Terminal Calypso Crypto Asymmetric API 0.2.+ (2024-02-16)
Terminal Calypso Crypto Asymmetric API 0.2.+ (2024-02-22)
end title

' == THEME ==
Expand Down Expand Up @@ -100,17 +100,20 @@ package "calypso.crypto.asymmetric" as api {
}
+interface CardCertificateParserSpi <<red>> {
+byte getCertificateType ()
+CardCertificateSpi parseCertificate (byte[] cardOutputData, CardIdentifierApi cardIdentifierApi)
+CardCertificateSpi parseCertificate (byte[] cardOutputData)
}
+interface CardCertificateSpi <<red>> {
+byte[] getIssuerPublicKeyReference ()
+CardPublicKeySpi checkCertificateAndGetPublicKey (CaCertificateContentSpi issuerCertificateContent)
+CardPublicKeySpi checkCertificateAndGetPublicKey (CaCertificateContentSpi issuerCertificateContent, CardIdentifierApi cardIdentifierApi)
}
}
+interface CaCertificateContentSpi <<red>> {
+<back:yellow>PublicKey</back> getPublicKey ()
+byte[] getPublicKeyReference ()

+Date getStartDate ()
+Date getEndDate ()

+boolean isAidCheckRequested ()
+boolean isAidTruncated ()
+byte[] getAid ()
Expand Down Expand Up @@ -146,13 +149,13 @@ CaCertificateSpi .right.> CaCertificateContentSpi #C_LINK : provide >
CardCertificateSpi .up.> CaCertificateContentSpi #C_USE : use >
CardCertificateSpi .right.> CardPublicKeySpi #C_LINK : provide >

CardCertificateParserSpi ..> CardIdentifierApi #C_USE : use >
CardCertificateSpi ..> CardIdentifierApi #C_USE : use >

' == LAYOUT ==

PcaCertificateSpi -[hidden]- CaCertificateSpi
CaCertificateParserSpi -[hidden]- CardCertificateParserSpi
CardIdentifierApi -[hidden]right- CertificateException
CardCertificateParserSpi -[hidden]- CertificateException
AsymmetricCryptoCardTransactionManagerSpi -[hidden]- InvalidCardPublicKeyException
InvalidCardPublicKeyException -[hidden]- ApiProperties

Expand Down
2 changes: 1 addition & 1 deletion 0.2.0-SNAPSHOT/api_class_diagram.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit d871e95

Please sign in to comment.