Skip to content

Commit

Permalink
deploy: 1ca405f
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanpierrefortune committed Nov 29, 2023
1 parent c312ffb commit 9d7e093
Show file tree
Hide file tree
Showing 5 changed files with 180 additions and 0 deletions.
87 changes: 87 additions & 0 deletions 0.1.0/api_class_diagram.puml
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
1 change: 1 addition & 0 deletions 0.1.0/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.
87 changes: 87 additions & 0 deletions 0.2.0-SNAPSHOT/api_class_diagram.puml
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
Loading

0 comments on commit 9d7e093

Please sign in to comment.