Class: Ccrypto::X509::CertProfile::ExtKeyUsage

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

Constant Summary collapse

Usages =

Key = [:allPurpose, :serverAuth, :clientAuth, :codeSigning, :emailProtection, :timestamping, :ocspSigning, :ipSecIKE, :msCodeInd, :msCodeCom, :msCtlsign, :msEFS, :dvcs]

{
  allPurpose: "All extended key usages",
  serverAuth: "TLS server authentication",
  clientAuth: "TLS client authentication",
  codeSigning: "Code signing",
  emailProtection: "Email protection",
  timeStamping: "Time stamping",
  OCSPSigning: "Online Cert Status Protocol signing",
  #ipSecIKE: "IPSec Initial Key Exchange",
  #msCodeInd: "Microsoft Code Ind",
  #msCodeCom: "Microsoft Code Com",
  #msCtlsign: "Microsoft CTL Sign",
  #msEFS: "Microsoft EFS",
  #dvcs: "DVCS purposes"
}

Instance Method Summary collapse

Constructor Details

#initializeExtKeyUsage

Returns a new instance of ExtKeyUsage.



327
328
329
# File 'lib/ccrypto/configs/x509_cert_profile.rb', line 327

def initialize
  @selected = {  }
end

Instance Method Details

#selectedObject



331
332
333
# File 'lib/ccrypto/configs/x509_cert_profile.rb', line 331

def selected
  @selected 
end