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.



250
251
252
# File 'lib/ccrypto/configs/x509_cert_profile.rb', line 250

def initialize
  @selected = {  }
end

Instance Method Details

#selectedObject



254
255
256
# File 'lib/ccrypto/configs/x509_cert_profile.rb', line 254

def selected
  @selected 
end