Class Nanite::StaticCertificateStore
In: lib/nanite/security/static_certificate_store.rb
Parent: Object

Simple certificate store, serves a static set of certificates.

Methods

Public Class methods

Initialize store:

 - Signer certificates are used when loading data to check the digital
   signature. The signature associated with the serialized data needs
   to match with one of the signer certificates for loading to succeed.

 - Recipient certificates are used when serializing data for encryption.
   Loading the data can only be done through serializers that have been
   initialized with a certificate that's in the recipient certificates if
   encryption is enabled.

Public Instance methods

Recipient certificate(s) that will be able to decrypt the serialized data

Retrieve signer certificate for given id

[Validate]