Module: Ccrypto::Java::BCConstMapping

Defined in:
lib/ccrypto/java/bc_const_mapping.rb

Overview

Map constants defined in Ccrypto::X509::CertProfile

Constant Summary collapse

KeyUsageMapping =
{
  digitalSignature: org.bouncycastle.asn1.x509::KeyUsage::digitalSignature,
  nonRepudiation: org.bouncycastle.asn1.x509::KeyUsage::nonRepudiation,
  keyEncipherment: org.bouncycastle.asn1.x509::KeyUsage::keyEncipherment,
  dataEncipherment: org.bouncycastle.asn1.x509::KeyUsage::dataEncipherment,
  keyAgreement: org.bouncycastle.asn1.x509::KeyUsage::keyAgreement,
  keyCertSign: org.bouncycastle.asn1.x509::KeyUsage::keyCertSign,
  crlSign: org.bouncycastle.asn1.x509::KeyUsage::cRLSign,
  encipherOnly: org.bouncycastle.asn1.x509::KeyUsage::encipherOnly,
  decipherOnly: org.bouncycastle.asn1.x509::KeyUsage::decipherOnly
}
ExtKeyUsageMapping =
{
    allPurpose: org.bouncycastle.asn1.x509.KeyPurposeId::anyExtendedKeyUsage,
    serverAuth: org.bouncycastle.asn1.x509.KeyPurposeId::id_kp_serverAuth,
    clientAuth: org.bouncycastle.asn1.x509.KeyPurposeId::id_kp_clientAuth,
    codeSigning: org.bouncycastle.asn1.x509.KeyPurposeId::id_kp_codeSigning,
    emailProtection: org.bouncycastle.asn1.x509.KeyPurposeId::id_kp_emailProtection,
    timeStamping: org.bouncycastle.asn1.x509.KeyPurposeId::id_kp_timeStamping,
    OCSPSigning:  org.bouncycastle.asn1.x509.KeyPurposeId::id_kp_OCSPSigning,
    #ipSecIKE: "IPSec Initial Key Exchange",
    #msCodeInd: "Microsoft Code Ind",
    #msCodeCom: "Microsoft Code Com",
    #msCtlsign: "Microsoft CTL Sign",
    #msEFS: "Microsoft EFS",
    #dvcs: "DVCS purposes"
}