-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c312ffb
commit 9d7e093
Showing
5 changed files
with
180 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
@startuml | ||
title | ||
<img:../assets/logo.svg{scale=0.2}> | ||
|
||
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<<red>> #FDEDEC | ||
skinparam ClassBorderColor<<red>> #E74C3C | ||
hide <<red>> stereotype | ||
' Purple | ||
skinparam ClassBackgroundColor<<purple>> #F4ECF7 | ||
skinparam ClassBorderColor<<purple>> #8E44AD | ||
hide <<purple>> stereotype | ||
' blue | ||
skinparam ClassBackgroundColor<<blue>> #EBF5FB | ||
skinparam ClassBorderColor<<blue>> #3498DB | ||
hide <<blue>> stereotype | ||
' Green | ||
skinparam ClassBackgroundColor<<green>> #E9F7EF | ||
skinparam ClassBorderColor<<green>> #27AE60 | ||
hide <<green>> stereotype | ||
' Grey | ||
skinparam ClassBackgroundColor<<grey>> #EAECEE | ||
skinparam ClassBorderColor<<grey>> #2C3E50 | ||
hide <<grey>> stereotype | ||
|
||
' == CONTENT == | ||
|
||
package "calypso.crypto.asymmetric" as api { | ||
+class "**final** AsymmetricCryptoApiProperties" as ApiProperties <<green>> { | ||
+{static} **final** String VERSION | ||
} | ||
package spi { | ||
+interface AsymmetricCryptoCardTransactionManagerFactorySpi <<red>> { | ||
+AsymmetricCryptoCardTransactionManagerSpi createCardTransactionManager () | ||
} | ||
+interface AsymmetricCryptoCardTransactionManagerSpi <<red>> { | ||
+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 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
@startuml | ||
title | ||
<img:../assets/logo.svg{scale=0.2}> | ||
|
||
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<<red>> #FDEDEC | ||
skinparam ClassBorderColor<<red>> #E74C3C | ||
hide <<red>> stereotype | ||
' Purple | ||
skinparam ClassBackgroundColor<<purple>> #F4ECF7 | ||
skinparam ClassBorderColor<<purple>> #8E44AD | ||
hide <<purple>> stereotype | ||
' blue | ||
skinparam ClassBackgroundColor<<blue>> #EBF5FB | ||
skinparam ClassBorderColor<<blue>> #3498DB | ||
hide <<blue>> stereotype | ||
' Green | ||
skinparam ClassBackgroundColor<<green>> #E9F7EF | ||
skinparam ClassBorderColor<<green>> #27AE60 | ||
hide <<green>> stereotype | ||
' Grey | ||
skinparam ClassBackgroundColor<<grey>> #EAECEE | ||
skinparam ClassBorderColor<<grey>> #2C3E50 | ||
hide <<grey>> stereotype | ||
|
||
' == CONTENT == | ||
|
||
package "calypso.crypto.asymmetric" as api { | ||
+class "**final** AsymmetricCryptoApiProperties" as ApiProperties <<green>> { | ||
+{static} **final** String VERSION | ||
} | ||
package spi { | ||
+interface AsymmetricCryptoCardTransactionManagerFactorySpi <<red>> { | ||
+AsymmetricCryptoCardTransactionManagerSpi createCardTransactionManager () | ||
} | ||
+interface AsymmetricCryptoCardTransactionManagerSpi <<red>> { | ||
+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 |
Oops, something went wrong.