Class: Ccrypto::X509::CertProfile::KeyUsage

Inherits:
Object
  • Object
show all
Defined in:
lib/ccrypto/configs/x509_cert_profile.rb

Constant Summary collapse

Usages =

Key = [:digitalSignature, :nonRepudiation, :keyEncipherment, :dataEncipherment, :keyAgreement, :keyCertSign, :crlSign, :encipherOnly, :decipherOnly]

{
  digitalSignature: "Digital signature",
  nonRepudiation: "Non Repudiation",
  keyEncipherment: "Key encipherment",
  dataEncipherment: "Data encipherment",
  keyAgreement: "Key agreement",
  keyCertSign: "Sign/Issue certificate",
  crlSign: "Sign/Issue Certificate Revocation List (CRL)",
  encipherOnly: "Data encipherment only",
  decipherOnly: "Data decipherment only",
}

Instance Method Summary collapse

Constructor Details

#initializeKeyUsage

Returns a new instance of KeyUsage.



288
289
290
# File 'lib/ccrypto/configs/x509_cert_profile.rb', line 288

def initialize
  @selected = {  }
end

Instance Method Details

#selectedObject



292
293
294
# File 'lib/ccrypto/configs/x509_cert_profile.rb', line 292

def selected
  @selected 
end