diff --git a/0.1.0/api_class_diagram.puml b/0.1.0/api_class_diagram.puml new file mode 100644 index 0000000..ba107bd --- /dev/null +++ b/0.1.0/api_class_diagram.puml @@ -0,0 +1,87 @@ +@startuml +title + + + Terminal Calypso Crypto Asymmetric API 0.1.+ (2023-11-06) +end title + +' == THEME == + +'Couleurs issues de : https://htmlcolorcodes.com/fr/tableau-de-couleur/tableau-de-couleur-design-plat/ +!define C_GREY1 F8F9F9 +!define C_GREY2 F2F3F4 +!define C_GREY3 E5E7E9 +!define C_GREY4 D7DBDD +!define C_GREY5 CACFD2 +!define C_GREY6 BDC3C7 +!define C_LINK 3498DB +!define C_USE 27AE60 +!define C_THROW 2C3E50 + +' -- Styles that don't work with new version of plantuml -- +skinparam stereotypeABorderColor #A9DCDF +skinparam stereotypeIBorderColor #B4A7E5 +skinparam stereotypeCBorderColor #ADD1B2 +skinparam stereotypeEBorderColor #EB93DF +' -- END -- + +skinparam ClassBorderThickness 2 +skinparam ArrowThickness 2 + +' Yellow +skinparam ClassBackgroundColor #FEFECE +skinparam ClassBorderColor #D4AC0D +' Red +skinparam ClassBackgroundColor<> #FDEDEC +skinparam ClassBorderColor<> #E74C3C +hide <> stereotype +' Purple +skinparam ClassBackgroundColor<> #F4ECF7 +skinparam ClassBorderColor<> #8E44AD +hide <> stereotype +' blue +skinparam ClassBackgroundColor<> #EBF5FB +skinparam ClassBorderColor<> #3498DB +hide <> stereotype +' Green +skinparam ClassBackgroundColor<> #E9F7EF +skinparam ClassBorderColor<> #27AE60 +hide <> stereotype +' Grey +skinparam ClassBackgroundColor<> #EAECEE +skinparam ClassBorderColor<> #2C3E50 +hide <> stereotype + +' == CONTENT == + +package "calypso.crypto.asymmetric" as api { + +class "**final** AsymmetricCryptoApiProperties" as ApiProperties <> { + +{static} **final** String VERSION + } + package spi { + +interface AsymmetricCryptoCardTransactionManagerFactorySpi <> { + +AsymmetricCryptoCardTransactionManagerSpi createCardTransactionManager () + } + +interface AsymmetricCryptoCardTransactionManagerSpi <> { + +byte[] extractCardPublicKey (byte[] cardCertificate) + +void initTerminalSessionSignature (byte[] cardPublicKey) + +void updateTerminalSessionSignature (byte[] cardApdu) + +boolean isCardSessionSignatureValid (byte[] cardSessionSignature) + } + } +} + +' Associations + +AsymmetricCryptoCardTransactionManagerFactorySpi ..> AsymmetricCryptoCardTransactionManagerSpi #C_LINK : provide > + +' == LAYOUT == + +'CardSecuritySetting -[hidden]- CalypsoSam + +' == STYLE == + +package api #C_GREY1 {} +package api.spi #C_GREY2 {} + +@enduml \ No newline at end of file diff --git a/0.1.0/api_class_diagram.svg b/0.1.0/api_class_diagram.svg new file mode 100644 index 0000000..39e9a39 --- /dev/null +++ b/0.1.0/api_class_diagram.svg @@ -0,0 +1 @@ + Terminal Calypso Crypto Asymmetric API 0.1.+ (2023-11-06)calypso.crypto.asymmetricspifinalAsymmetricCryptoApiPropertiesfinalString VERSIONAsymmetricCryptoCardTransactionManagerFactorySpiAsymmetricCryptoCardTransactionManagerSpi createCardTransactionManager ()AsymmetricCryptoCardTransactionManagerSpibyte[] extractCardPublicKey (byte[] cardCertificate)void initTerminalSessionSignature (byte[] cardPublicKey)void updateTerminalSessionSignature (byte[] cardApdu)boolean isCardSessionSignatureValid (byte[] cardSessionSignature)provide \ No newline at end of file diff --git a/0.2.0-SNAPSHOT/api_class_diagram.puml b/0.2.0-SNAPSHOT/api_class_diagram.puml new file mode 100644 index 0000000..8d846c5 --- /dev/null +++ b/0.2.0-SNAPSHOT/api_class_diagram.puml @@ -0,0 +1,87 @@ +@startuml +title + + + Terminal Calypso Crypto Asymmetric API 0.2.+ (2023-11-06) +end title + +' == THEME == + +'Couleurs issues de : https://htmlcolorcodes.com/fr/tableau-de-couleur/tableau-de-couleur-design-plat/ +!define C_GREY1 F8F9F9 +!define C_GREY2 F2F3F4 +!define C_GREY3 E5E7E9 +!define C_GREY4 D7DBDD +!define C_GREY5 CACFD2 +!define C_GREY6 BDC3C7 +!define C_LINK 3498DB +!define C_USE 27AE60 +!define C_THROW 2C3E50 + +' -- Styles that don't work with new version of plantuml -- +skinparam stereotypeABorderColor #A9DCDF +skinparam stereotypeIBorderColor #B4A7E5 +skinparam stereotypeCBorderColor #ADD1B2 +skinparam stereotypeEBorderColor #EB93DF +' -- END -- + +skinparam ClassBorderThickness 2 +skinparam ArrowThickness 2 + +' Yellow +skinparam ClassBackgroundColor #FEFECE +skinparam ClassBorderColor #D4AC0D +' Red +skinparam ClassBackgroundColor<> #FDEDEC +skinparam ClassBorderColor<> #E74C3C +hide <> stereotype +' Purple +skinparam ClassBackgroundColor<> #F4ECF7 +skinparam ClassBorderColor<> #8E44AD +hide <> stereotype +' blue +skinparam ClassBackgroundColor<> #EBF5FB +skinparam ClassBorderColor<> #3498DB +hide <> stereotype +' Green +skinparam ClassBackgroundColor<> #E9F7EF +skinparam ClassBorderColor<> #27AE60 +hide <> stereotype +' Grey +skinparam ClassBackgroundColor<> #EAECEE +skinparam ClassBorderColor<> #2C3E50 +hide <> stereotype + +' == CONTENT == + +package "calypso.crypto.asymmetric" as api { + +class "**final** AsymmetricCryptoApiProperties" as ApiProperties <> { + +{static} **final** String VERSION + } + package spi { + +interface AsymmetricCryptoCardTransactionManagerFactorySpi <> { + +AsymmetricCryptoCardTransactionManagerSpi createCardTransactionManager () + } + +interface AsymmetricCryptoCardTransactionManagerSpi <> { + +byte[] extractCardPublicKey (byte[] cardCertificate) + +void initTerminalSessionSignature (byte[] cardPublicKey) + +void updateTerminalSessionSignature (byte[] cardApdu) + +boolean isCardSessionSignatureValid (byte[] cardSessionSignature) + } + } +} + +' Associations + +AsymmetricCryptoCardTransactionManagerFactorySpi ..> AsymmetricCryptoCardTransactionManagerSpi #C_LINK : provide > + +' == LAYOUT == + +'CardSecuritySetting -[hidden]- CalypsoSam + +' == STYLE == + +package api #C_GREY1 {} +package api.spi #C_GREY2 {} + +@enduml \ No newline at end of file diff --git a/0.2.0-SNAPSHOT/api_class_diagram.svg b/0.2.0-SNAPSHOT/api_class_diagram.svg new file mode 100644 index 0000000..a3a2c61 --- /dev/null +++ b/0.2.0-SNAPSHOT/api_class_diagram.svg @@ -0,0 +1 @@ + Terminal Calypso Crypto Asymmetric API 0.2.+ (2023-11-06)calypso.crypto.asymmetricspifinalAsymmetricCryptoApiPropertiesfinalString VERSIONAsymmetricCryptoCardTransactionManagerFactorySpiAsymmetricCryptoCardTransactionManagerSpi createCardTransactionManager ()AsymmetricCryptoCardTransactionManagerSpibyte[] extractCardPublicKey (byte[] cardCertificate)void initTerminalSessionSignature (byte[] cardPublicKey)void updateTerminalSessionSignature (byte[] cardApdu)boolean isCardSessionSignatureValid (byte[] cardSessionSignature)provide \ No newline at end of file diff --git a/list_versions.md b/list_versions.md new file mode 100644 index 0000000..e891ec5 --- /dev/null +++ b/list_versions.md @@ -0,0 +1,4 @@ +| Version | Documents | +|:---:|---| +| 0.2.0-SNAPSHOT |[api_class_diagram.svg](0.2.0-SNAPSHOT/api_class_diagram.svg)
| +| 0.1.0 |[api_class_diagram.svg](0.1.0/api_class_diagram.svg)
|