-
Notifications
You must be signed in to change notification settings - Fork 12
krypt API
emboss edited this page Dec 6, 2011
·
3 revisions
One of the goals of krypt is to implement as much functionality as possible in Ruby. Almost any cryptographic protocol or data structure can be decomposed into a series of "primitives", for example an X.509 certificate is a composition of the "primitives" ASN.1, cryptographic hash, and asymmetric cryptography. While these primitives are the subject of the lower-level krypt-core API, the krypt API will use them to implement these composites in plain Ruby.
Krypt
Asn1
Dn
GeneralName
Extension
Attribute
...
Cms
SignedData
EnvelopedData
DigestedData
EncryptedData
AuthenticatedData
Hmac
Pkcs5
Pkcs12
Timestamp
Request
Response
X509
Certificate
Crl
Ocsp
Validator
Request
Tls
Socket
Server
(Ssl -> TLS)
(Pkcs7 -> CMS)