Class crypt
- java.lang.Object
-
- cryptlib.crypt
-
public class crypt extends java.lang.ObjectThis class represents all data structures, constant values and methods that cryptlib makes available via the nio interface.
Author: Peter Gutmann
-
-
Field Summary
Fields Modifier and Type Field Description static intALGO_25519X25519static intALGO_3DESTriple DESstatic intALGO_AESAESstatic intALGO_CASTCAST-128 (only used for OpenPGP)static intALGO_CHACHA20ChaCha20static intALGO_DESDESstatic intALGO_DHDiffie-Hellmanstatic intALGO_DSADSAstatic intALGO_ECDHECDHstatic intALGO_ECDSAECDSAstatic intALGO_ED25519Ed25519static intALGO_ELGAMALElGamalstatic intALGO_FIRST_CONVENTIONALfirst conventional cipherstatic intALGO_FIRST_HASHfirst hash algorithmstatic intALGO_FIRST_MACfirst message authentication cipherstatic intALGO_FIRST_PKCfirst public key cipherstatic intALGO_HMAC_SHA1HMAC-SHAstatic intALGO_HMAC_SHA2HMAC-SHA2static intALGO_HMAC_SHAngHMAC-SHA-nextgenstatic intALGO_IDEAIDEA (only used for PGP 2.x)static intALGO_LASTLast possible crypt algo valuestatic intALGO_LAST_CONVENTIONALlast conventional cipherstatic intALGO_LAST_HASHlast hash algorithmstatic intALGO_LAST_MAClast message authentication cipherstatic intALGO_LAST_PKClast public key cipherstatic intALGO_MD5MD5 (only used internally for TLS 1.0/1.1)static intALGO_NONENo encryptionstatic intALGO_POLY1305Poly1305static intALGO_RC2RC2 (disabled by default, used for PKCS #12)static intALGO_RC4RC4 (insecure, disabled by default)static intALGO_RESERVED1Formerly RC5static intALGO_RESERVED2Formerly Blowfishstatic intALGO_RESERVED3Formerly KEAstatic intALGO_RESERVED4Formerly MD2static intALGO_RESERVED5Formerly MD4static intALGO_RESERVED6Formerly RIPE-MD 160static intALGO_RESERVED7Formerly HMAC-MD5static intALGO_RESERVED8Formerly HMAC-RIPEMD 160static intALGO_RSARSAstatic intALGO_SHA1SHA/SHA1static intALGO_SHA2SHA-256static intALGO_SHA256Alternate namestatic intALGO_SHAngFuture SHA-nextgen standardstatic intATTRIBUTE_BUFFERSIZEInternal data buffer sizestatic intATTRIBUTE_CURRENTCursor mgt: Entry in attribute liststatic intATTRIBUTE_CURRENT_GROUPCursor mgt: Group in attribute liststatic intATTRIBUTE_CURRENT_INSTANCECursor mgt: Instance in attribute liststatic intATTRIBUTE_ERRORLOCUSLocus of last errorstatic intATTRIBUTE_ERRORMESSAGEDetailed error descriptionstatic intATTRIBUTE_ERRORTYPEType of last errorstatic intATTRIBUTE_LASTFor internal usestatic intATTRIBUTE_NONENon-valuestatic intCERTACTION_ADDUSERAdd PKI userstatic intCERTACTION_CERT_CREATIONCert creationstatic intCERTACTION_CERT_CREATION_COMPLETEConfirmation of cert creationstatic intCERTACTION_CERT_CREATION_DROPCancellation of cert creationstatic intCERTACTION_CERT_CREATION_REVERSECancel of creation w.revocationstatic intCERTACTION_CLEANUPClean up on restartstatic intCERTACTION_CONNECTConnect to cert storestatic intCERTACTION_CREATECreate cert storestatic intCERTACTION_DELETEUSERDelete PKI userstatic intCERTACTION_DISCONNECTDisconnect from cert storestatic intCERTACTION_ERRORError informationstatic intCERTACTION_EXPIRE_CERTCert expirystatic intCERTACTION_ISSUE_CERTCert issuestatic intCERTACTION_ISSUE_CRLCRL issuestatic intCERTACTION_LASTLast possible cert store log actionstatic intCERTACTION_NONENo cert management actionstatic intCERTACTION_REQUEST_CERTCert requeststatic intCERTACTION_REQUEST_RENEWALCert renewal requeststatic intCERTACTION_REQUEST_REVOCATIONCert revocation requeststatic intCERTACTION_RESTART_CLEANUPDelete reqs after restartstatic intCERTACTION_RESTART_REVOKE_CERTComplete revocation after restartstatic intCERTACTION_REVOKE_CERTCert revocationstatic intCERTFORMAT_CERTCHAINPKCS #7 certificate chainstatic intCERTFORMAT_CERTIFICATEDER-encoded certificatestatic intCERTFORMAT_LASTLast possible cert.format typestatic intCERTFORMAT_NONENo certificate formatstatic intCERTFORMAT_TEXT_CERTCHAINbase-64 wrapped cert chainstatic intCERTFORMAT_TEXT_CERTIFICATEbase-64 wrapped certstatic intCERTFORMAT_XML_CERTCHAINXML wrapped cert chainstatic intCERTFORMAT_XML_CERTIFICATEXML wrapped certstatic intCERTINFO_AAISSUINGDIST_AACERTScontainsAACertsstatic intCERTINFO_AAISSUINGDIST_FULLNAMEdistributionPointName.fullNamestatic intCERTINFO_AAISSUINGDIST_INDIRECTCRLindirectCRLstatic intCERTINFO_AAISSUINGDIST_SOACERTScontainsSOAPublicKeyCertsstatic intCERTINFO_AAISSUINGDIST_SOMEREASONSONLYonlySomeReasonsstatic intCERTINFO_AAISSUINGDIST_USERATTRCERTScontainsUserAttributeCertsstatic intCERTINFO_AAISSUINGDISTRIBUTIONPOINTaaIssuingDistributionPointstatic intCERTINFO_AUTHORITYcAstatic intCERTINFO_AUTHORITY_CERTISSUERauthorityCertIssuerstatic intCERTINFO_AUTHORITY_CERTSERIALNUMBERauthorityCertSerialNumberstatic intCERTINFO_AUTHORITY_KEYIDENTIFIERkeyIdentifierstatic intCERTINFO_AUTHORITYINFO_CAISSUERSaccessDescription.accessLocationstatic intCERTINFO_AUTHORITYINFO_CERTSTOREaccessDescription.accessLocationstatic intCERTINFO_AUTHORITYINFO_CRLSaccessDescription.accessLocationstatic intCERTINFO_AUTHORITYINFO_OCSPaccessDescription.accessLocationstatic intCERTINFO_AUTHORITYINFO_RTCSaccessDescription.accessLocationstatic intCERTINFO_AUTHORITYINFOACCESSauthorityInfoAccessstatic intCERTINFO_AUTHORITYKEYIDENTIFIERauthorityKeyIdentifierstatic intCERTINFO_AUTONOMOUSSYSIDSautonomousSysIdsstatic intCERTINFO_AUTONOMOUSSYSIDS_ASNUM_IDasNum.idstatic intCERTINFO_AUTONOMOUSSYSIDS_ASNUM_MAXasNum.maxstatic intCERTINFO_AUTONOMOUSSYSIDS_ASNUM_MINasNum.minstatic intCERTINFO_BASEUPDATETIMEbaseUpdateTimestatic intCERTINFO_BASICCONSTRAINTSbasicConstraintsstatic intCERTINFO_BIOMETRICINFObiometric Informationstatic intCERTINFO_BIOMETRICINFO_HASHbiometricData.dataHashstatic intCERTINFO_BIOMETRICINFO_HASHALGObiometricData.hashAlgorithmstatic intCERTINFO_BIOMETRICINFO_TYPEbiometricData.typeOfDatastatic intCERTINFO_BIOMETRICINFO_URLbiometricData.sourceDataUristatic intCERTINFO_CAcAstatic intCERTINFO_CACERTIFICATECA certificatestatic intCERTINFO_CERTIFICATEUser certificatestatic intCERTINFO_CERTIFICATEISSUERcertificateIssuerstatic intCERTINFO_CERTIFICATEPOLICIEScertificatePoliciesstatic intCERTINFO_CERTPOLICY_CPSURIpolicyInformation.policyQualifiers.qualifier.cPSuristatic intCERTINFO_CERTPOLICY_EXPLICITTEXTpolicyInformation.policyQualifiers.qualifier.userNotice.explicitTextstatic intCERTINFO_CERTPOLICY_NOTICENUMBERSpolicyInformation.policyQualifiers.qualifier.userNotice.noticeRef.noticeNumbersstatic intCERTINFO_CERTPOLICY_ORGANIZATIONpolicyInformation.policyQualifiers.qualifier.userNotice.noticeRef.organizationstatic intCERTINFO_CERTPOLICYIDpolicyInformation.policyIdentifierstatic intCERTINFO_CERTREQUESTCertificate Request (DN + public key)static intCERTINFO_CERTSTATUSRTCS certificate statusstatic intCERTINFO_CERTTYPECertificate object typestatic intCERTINFO_CHALLENGEPASSWORDchallengePasswordstatic intCERTINFO_CMS_ALGORITHMPROTECTIONCMS AlgorithmProtectionstatic intCERTINFO_CMS_ALGORITHMPROTECTION_HASHSigner hash algorithmstatic intCERTINFO_CMS_ALGORITHMPROTECTION_MACSigner MAC algorithmstatic intCERTINFO_CMS_ALGORITHMPROTECTION_SIGSigner sig.algorithmstatic intCERTINFO_CMS_CONTENTHINT_DESCRIPTIONcontentDescriptionstatic intCERTINFO_CMS_CONTENTHINT_TYPEcontentTypestatic intCERTINFO_CMS_CONTENTHINTScontentHintsstatic intCERTINFO_CMS_CONTENTTYPES/MIME contentTypestatic intCERTINFO_CMS_COUNTERSIGNATUREcounterSignaturestatic intCERTINFO_CMS_EQUIVALENTLABELequivalentLabelsstatic intCERTINFO_CMS_EQVLABEL_CATTYPEsecurityCategories.securityCategory.typestatic intCERTINFO_CMS_EQVLABEL_CATVALUEsecurityCategories.securityCategory.valuestatic intCERTINFO_CMS_EQVLABEL_CLASSIFICATIONsecurityClassificationstatic intCERTINFO_CMS_EQVLABEL_POLICYsecurityPolicyIdentifierstatic intCERTINFO_CMS_EQVLABEL_PRIVACYMARKprivacyMarkstatic intCERTINFO_CMS_MESSAGEDIGESTmessageDigeststatic intCERTINFO_CMS_MLEXP_ENTITYIDENTIFIERmlData.mailListIdentifier.issuerAndSerialNumberstatic intCERTINFO_CMS_MLEXP_INADDITIONTOmlData.mlReceiptPolicy.inAdditionTo.generalNames.generalNamestatic intCERTINFO_CMS_MLEXP_INSTEADOFmlData.mlReceiptPolicy.insteadOf.generalNames.generalNamestatic intCERTINFO_CMS_MLEXP_NONEmlData.mlReceiptPolicy.nonestatic intCERTINFO_CMS_MLEXP_TIMEmlData.expansionTimestatic intCERTINFO_CMS_MLEXPANSIONHISTORYmlExpansionHistorystatic intCERTINFO_CMS_NONCErandomNoncestatic intCERTINFO_CMS_RECEIPT_CONTENTIDENTIFIERcontentIdentifierstatic intCERTINFO_CMS_RECEIPT_FROMreceiptsFromstatic intCERTINFO_CMS_RECEIPT_TOreceiptsTostatic intCERTINFO_CMS_RECEIPTREQUESTreceiptRequeststatic intCERTINFO_CMS_SECLABEL_CATTYPEsecurityCategories.securityCategory.typestatic intCERTINFO_CMS_SECLABEL_CATVALUEsecurityCategories.securityCategory.valuestatic intCERTINFO_CMS_SECLABEL_CLASSIFICATIONsecurityClassificationstatic intCERTINFO_CMS_SECLABEL_POLICYsecurityPolicyIdentifierstatic intCERTINFO_CMS_SECLABEL_PRIVACYMARKprivacyMarkstatic intCERTINFO_CMS_SECURITYLABELCMS SecurityLabelstatic intCERTINFO_CMS_SIGNATUREPOLICYIDsignaturePolicyIDstatic intCERTINFO_CMS_SIGNINGCERT_ESSCERTIDcerts.essCertIDstatic intCERTINFO_CMS_SIGNINGCERT_POLICIESpolicies.policyInformation.policyIdentifierstatic intCERTINFO_CMS_SIGNINGCERTIFICATEsigningCertificatestatic intCERTINFO_CMS_SIGNINGCERTIFICATEV2signingCertificateV2static intCERTINFO_CMS_SIGNINGCERTV2_ESSCERTIDV2certs.essCertIDstatic intCERTINFO_CMS_SIGNINGCERTV2_POLICIESpolicies.policyInformation.policyIdentifierstatic intCERTINFO_CMS_SIGNINGDESCRIPTIONsigningDescriptionstatic intCERTINFO_CMS_SIGNINGTIMEsigningTimestatic intCERTINFO_CMS_SIGPOLICY_CPSURIsigPolicyQualifiers.sigPolicyQualifier.cPSuristatic intCERTINFO_CMS_SIGPOLICY_EXPLICITTEXTsigPolicyQualifiers.sigPolicyQualifier.userNotice.explicitTextstatic intCERTINFO_CMS_SIGPOLICY_NOTICENUMBERSsigPolicyQualifiers.sigPolicyQualifier.userNotice.noticeRef.noticeNumbersstatic intCERTINFO_CMS_SIGPOLICY_ORGANIZATIONsigPolicyQualifiers.sigPolicyQualifier.userNotice.noticeRef.organizationstatic intCERTINFO_CMS_SIGPOLICYHASHsigPolicyHashstatic intCERTINFO_CMS_SIGPOLICYIDsigPolicyIDstatic intCERTINFO_CMS_SIGTYPEID_ADDITIONALATTRIBUTESadditionalAttributesSigstatic intCERTINFO_CMS_SIGTYPEID_DOMAINSIGdomainSigstatic intCERTINFO_CMS_SIGTYPEID_ORIGINATORSIGoriginatorSigstatic intCERTINFO_CMS_SIGTYPEID_REVIEWSIGreviewSigstatic intCERTINFO_CMS_SIGTYPEIDENTIFIERsignatureTypeIdentifierstatic intCERTINFO_CMS_SMIMECAP_3DES3DES encryptionstatic intCERTINFO_CMS_SMIMECAP_AESAES encryptionstatic intCERTINFO_CMS_SMIMECAP_AUTHENC128AuthEnc w.128-bit keystatic intCERTINFO_CMS_SMIMECAP_AUTHENC256AuthEnc w.256-bit keystatic intCERTINFO_CMS_SMIMECAP_CANNOTDECRYPTANYcanNotDecryptAnystatic intCERTINFO_CMS_SMIMECAP_CAST128CAST-128 encryptionstatic intCERTINFO_CMS_SMIMECAP_DSA_SHA1DSA with SHA-1 signingstatic intCERTINFO_CMS_SMIMECAP_ECDSA_SHA1ECDSA with SHA-1 signingstatic intCERTINFO_CMS_SMIMECAP_ECDSA_SHA2ECDSA with SHA2-256 signingstatic intCERTINFO_CMS_SMIMECAP_ECDSA_SHAngECDSA with SHA-ng signingstatic intCERTINFO_CMS_SMIMECAP_HMAC_SHA1HMAC-SHA1 MACstatic intCERTINFO_CMS_SMIMECAP_HMAC_SHA2HMAC-SHA2-256 MACstatic intCERTINFO_CMS_SMIMECAP_HMAC_SHAngHMAC-SHA2-ng MACstatic intCERTINFO_CMS_SMIMECAP_PREFERBINARYINSIDEpreferBinaryInsidestatic intCERTINFO_CMS_SMIMECAP_PREFERSIGNEDDATApreferSignedDatastatic intCERTINFO_CMS_SMIMECAP_RSA_SHA1RSA with SHA1 signingstatic intCERTINFO_CMS_SMIMECAP_RSA_SHA2RSA with SHA2-256 signingstatic intCERTINFO_CMS_SMIMECAP_RSA_SHAngRSA with SHA-ng signingstatic intCERTINFO_CMS_SMIMECAP_SHA1SHA1 hashstatic intCERTINFO_CMS_SMIMECAP_SHA2SHA2-256 hashstatic intCERTINFO_CMS_SMIMECAP_SHAngSHA2-ng hashstatic intCERTINFO_CMS_SMIMECAPABILITIESsMIMECapabilitiesstatic intCERTINFO_CMS_SPCAGENCYINFOspcAgencyInfostatic intCERTINFO_CMS_SPCAGENCYURLspcAgencyInfo.urlstatic intCERTINFO_CMS_SPCOPUSINFOspcOpusInfostatic intCERTINFO_CMS_SPCOPUSINFO_NAMEspcOpusInfo.namestatic intCERTINFO_CMS_SPCOPUSINFO_URLspcOpusInfo.urlstatic intCERTINFO_CMS_SPCSTATEMENTTYPEspcStatementTypestatic intCERTINFO_CMS_SPCSTMT_COMMERCIALCODESIGNINGcommercialCodeSigningstatic intCERTINFO_CMS_SPCSTMT_INDIVIDUALCODESIGNINGindividualCodeSigningstatic intCERTINFO_COMMONNAMEcommonNamestatic intCERTINFO_COUNTRYNAMEcountryNamestatic intCERTINFO_CRLDIST_CRLISSUERcRLIssuerstatic intCERTINFO_CRLDIST_FULLNAMEdistributionPointName.fullNamestatic intCERTINFO_CRLDIST_REASONSreasonsstatic intCERTINFO_CRLDISTRIBUTIONPOINTcRLDistributionPointstatic intCERTINFO_CRLEXTREASONCRL Ext Reasonstatic intCERTINFO_CRLNUMBERcRLNumberstatic intCERTINFO_CRLREASONcRLReasonstatic intCERTINFO_CRLSTREAMIDENTIFIERcrlStreamIdentifierstatic intCERTINFO_CURRENT_CERTIFICATECursor management: Relative position in chain/CRL/OCSPstatic intCERTINFO_DELTACRLINDICATORdeltaCRLIndicatorstatic intCERTINFO_DELTAINFOdeltaInfostatic intCERTINFO_DELTAINFO_LOCATIONdeltaLocationstatic intCERTINFO_DELTAINFO_NEXTDELTAnextDeltastatic intCERTINFO_DIRECTORYNAMEdirectoryNamestatic intCERTINFO_DNCurrently selected Distinguished Nname in string formstatic intCERTINFO_DNSNAMEdNSNamestatic intCERTINFO_EDIPARTYNAME_NAMEASSIGNERediPartyName.nameAssignerstatic intCERTINFO_EDIPARTYNAME_PARTYNAMEediPartyName.partyNamestatic intCERTINFO_EMAILEmail addressstatic intCERTINFO_EXCLUDEDSUBTREESexcludedSubtreesstatic intCERTINFO_EXPIREDCERTSONCRLexpiredCertsOnCRLstatic intCERTINFO_EXTKEY_ANYKEYUSAGEanyExtendedKeyUsagestatic intCERTINFO_EXTKEY_CLIENTAUTHclientAuthstatic intCERTINFO_EXTKEY_CODESIGNINGcodeSigningstatic intCERTINFO_EXTKEY_DIRECTORYSERVICEdirectoryServicestatic intCERTINFO_EXTKEY_EMAILPROTECTIONemailProtectionstatic intCERTINFO_EXTKEY_IPSECENDSYSTEMipsecEndSystemstatic intCERTINFO_EXTKEY_IPSECTUNNELipsecTunnelstatic intCERTINFO_EXTKEY_IPSECUSERipsecUserstatic intCERTINFO_EXTKEY_MS_CERTTRUSTLISTSIGNINGcertTrustListSigningstatic intCERTINFO_EXTKEY_MS_COMMERCIALCODESIGNINGcommercialCodeSigningstatic intCERTINFO_EXTKEY_MS_ENCRYPTEDFILESYSTEMencrypedFileSystemstatic intCERTINFO_EXTKEY_MS_INDIVIDUALCODESIGNINGindividualCodeSigningstatic intCERTINFO_EXTKEY_MS_SERVERGATEDCRYPTOserverGatedCryptostatic intCERTINFO_EXTKEY_MS_TIMESTAMPSIGNINGtimeStampSigningstatic intCERTINFO_EXTKEY_NS_SERVERGATEDCRYPTOserverGatedCryptostatic intCERTINFO_EXTKEY_OCSPSIGNINGocspSigningstatic intCERTINFO_EXTKEY_SERVERAUTHserverAuthstatic intCERTINFO_EXTKEY_TIMESTAMPINGtimeStampingstatic intCERTINFO_EXTKEY_VS_SERVERGATEDCRYPTO_CAserverGatedCrypto CAstatic intCERTINFO_EXTKEYUSAGEextKeyUsagestatic intCERTINFO_EXTKEYUSAGE_LASTserverGatedCrypto CAstatic intCERTINFO_FINGERPRINT_SHA1Certificate fingerprint SHA-1static intCERTINFO_FINGERPRINT_SHA2Certificate fingerprint SHA-2static intCERTINFO_FINGERPRINT_SHAngNext generation certificate fingerprint SHAstatic intCERTINFO_FIRSTFor internal usestatic intCERTINFO_FRESHESTCRLfreshestCRLstatic intCERTINFO_FRESHESTCRL_CRLISSUERcRLIssuerstatic intCERTINFO_FRESHESTCRL_FULLNAMEdistributionPointName.fullNamestatic intCERTINFO_FRESHESTCRL_REASONSreasonsstatic intCERTINFO_HOLDINSTRUCTIONCODEholdInstructionCodestatic intCERTINFO_IMMUTABLECert is signed and immutablestatic intCERTINFO_INHIBITANYPOLICYinhibitAnyPolicystatic intCERTINFO_INHIBITPOLICYMAPPINGpolicyConstraints.inhibitPolicyMappingstatic intCERTINFO_INVALIDITYDATEinvalidityDatestatic intCERTINFO_IPADDRESSiPAddressstatic intCERTINFO_IPADDRESSBLOCKSipAddrBlocksstatic intCERTINFO_IPADDRESSBLOCKS_ADDRESSFAMILYaddressFamilystatic intCERTINFO_IPADDRESSBLOCKS_MAXipAddress.addressRangeMaxstatic intCERTINFO_IPADDRESSBLOCKS_MINipAddress.addressRangeMinstatic intCERTINFO_IPADDRESSBLOCKS_PREFIXipAddress.addressPrefixstatic intCERTINFO_ISSUERALTNAMEissuerAltNamestatic intCERTINFO_ISSUERDOMAINPOLICYpolicyMappings.issuerDomainPolicystatic intCERTINFO_ISSUERNAMEIssuer DNstatic intCERTINFO_ISSUERUNIQUEIDIssuer unique IDstatic intCERTINFO_ISSUINGDIST_CACERTSONLYonlyContainsCACertsstatic intCERTINFO_ISSUINGDIST_FULLNAMEdistributionPointName.fullNamestatic intCERTINFO_ISSUINGDIST_INDIRECTCRLindirectCRLstatic intCERTINFO_ISSUINGDIST_SOMEREASONSONLYonlySomeReasonsstatic intCERTINFO_ISSUINGDIST_USERCERTSONLYonlyContainsUserCertsstatic intCERTINFO_ISSUINGDISTRIBUTIONPOINTissuingDistributionPointstatic intCERTINFO_KEYFEATURESKey Featuresstatic intCERTINFO_KEYUSAGEkeyUsagestatic intCERTINFO_LAST-static intCERTINFO_LOCALITYNAMElocalityNamestatic intCERTINFO_NAMECONSTRAINTSnameConstraintsstatic intCERTINFO_NEXTUPDATECRL/OCSP next-update timestatic intCERTINFO_NS_BASEURLnetscape-base-urlstatic intCERTINFO_NS_CAPOLICYURLnetscape-ca-policy-urlstatic intCERTINFO_NS_CAREVOCATIONURLnetscape-ca-revocation-urlstatic intCERTINFO_NS_CERTRENEWALURLnetscape-cert-renewal-urlstatic intCERTINFO_NS_CERTTYPEnetscape-cert-typestatic intCERTINFO_NS_COMMENTnetscape-commentstatic intCERTINFO_NS_REVOCATIONURLnetscape-revocation-urlstatic intCERTINFO_NS_SSLSERVERNAMEnetscape-ssl-server-namestatic intCERTINFO_OCSP_ARCHIVECUTOFFOSCP ArchiveCutoffstatic intCERTINFO_OCSP_NOCHECKOSCP NoCheckstatic intCERTINFO_OCSP_NONCEnoncestatic intCERTINFO_OCSP_RESPONSEocspAcceptableResponsesstatic intCERTINFO_OCSP_RESPONSE_OCSPOCSP standard responsestatic intCERTINFO_ORDEREDLISTorderedListstatic intCERTINFO_ORGANISATIONALUNITNAMEorganizationalUnitNamestatic intCERTINFO_ORGANISATIONNAMEorganizationNamestatic intCERTINFO_ORGANIZATIONALUNITNAMEorganizationalUnitNamestatic intCERTINFO_ORGANIZATIONNAMEorganizationNamestatic intCERTINFO_OTHERNAME_TYPEIDotherName.typeIDstatic intCERTINFO_OTHERNAME_VALUEotherName.valuestatic intCERTINFO_PATHLENCONSTRAINTpathLenConstraintstatic intCERTINFO_PERMITTEDSUBTREESpermittedSubtreesstatic intCERTINFO_PKIUSER_IDPKI user IDstatic intCERTINFO_PKIUSER_ISSUEPASSWORDPKI user issue passwordstatic intCERTINFO_PKIUSER_RAPKI user is an Registration Authoritystatic intCERTINFO_PKIUSER_REVPASSWORDPKI user revocation passwordstatic intCERTINFO_POLICYCONSTRAINTSpolicyConstraintsstatic intCERTINFO_POLICYMAPPINGSpolicyMappingsstatic intCERTINFO_PRIVATEKEY_NOTAFTERnotAfterstatic intCERTINFO_PRIVATEKEY_NOTBEFOREnotBeforestatic intCERTINFO_PRIVATEKEYUSAGEPERIODprivateKeyUsagePeriodstatic intCERTINFO_QCSTATEMENTqcStatementsstatic intCERTINFO_QCSTATEMENT_REGISTRATIONAUTHORITYqcStatement.statementInfo.nameRegistrationAuthoritiesstatic intCERTINFO_QCSTATEMENT_SEMANTICSqcStatement.statementInfo.semanticsIdentifierstatic intCERTINFO_REGISTEREDIDregisteredIDstatic intCERTINFO_REQUIREEXPLICITPOLICYpolicyConstraints.requireExplicitPolicystatic intCERTINFO_REVOCATIONDATECRL/OCSP certificate revocation timestatic intCERTINFO_REVOCATIONSTATUSOCSP revocation statusstatic intCERTINFO_REVOKEDGROUPSrevokedGroupsstatic intCERTINFO_REVOKEDGROUPS_CERTISSUERcertificateIssuerstatic intCERTINFO_REVOKEDGROUPS_ENDINGNUMBERendingNumberstatic intCERTINFO_REVOKEDGROUPS_INVALIDITYDATEinvalidityDatestatic intCERTINFO_REVOKEDGROUPS_REASONCODEreasonCodestatic intCERTINFO_REVOKEDGROUPS_STARTINGNUMBERstartingNumberstatic intCERTINFO_RFC822NAMErfc822Namestatic intCERTINFO_SCEP_FAILINFOfailInfostatic intCERTINFO_SCEP_MESSAGETYPEmessageTypestatic intCERTINFO_SCEP_PKISTATUSpkiStatusstatic intCERTINFO_SCEP_RECIPIENTNONCErecipientNoncestatic intCERTINFO_SCEP_SENDERNONCEsenderNoncestatic intCERTINFO_SCEP_TRANSACTIONIDtransIDstatic intCERTINFO_SELFSIGNEDCert is self-signedstatic intCERTINFO_SERIALNUMBERCertificate serial numberstatic intCERTINFO_SET_CERTCARDREQUIREDSET certCardRequiredstatic intCERTINFO_SET_CERTIFICATETYPESET certificateTypestatic intCERTINFO_SET_HASHEDROOTKEYSET hashedRootKeystatic intCERTINFO_SET_MERACQUIRERBINmerAcquirerBINstatic intCERTINFO_SET_MERAUTHFLAGmerAuthFlagstatic intCERTINFO_SET_MERCHANTCITYmerNames.citystatic intCERTINFO_SET_MERCHANTCOUNTRYNAMEmerNames.countryNamestatic intCERTINFO_SET_MERCHANTDATASET merchantDatastatic intCERTINFO_SET_MERCHANTLANGUAGEmerNames.languagestatic intCERTINFO_SET_MERCHANTNAMEmerNames.namestatic intCERTINFO_SET_MERCHANTPOSTALCODEmerNames.postalCodestatic intCERTINFO_SET_MERCHANTSTATEPROVINCEmerNames.stateProvincestatic intCERTINFO_SET_MERCOUNTRYmerCountrystatic intCERTINFO_SET_MERIDmerIDstatic intCERTINFO_SET_ROOTKEYTHUMBPRINTSET rootKeyThumbPrintstatic intCERTINFO_SET_TUNNELINGSET tunnelingstatic intCERTINFO_SET_TUNNELINGALGIDtunnelingAlgIDstatic intCERTINFO_SET_TUNNELINGFLAGtunneling flagstatic intCERTINFO_SET_TUNNELLINGSet tunnelingstatic intCERTINFO_SET_TUNNELLINGALGIDS/MIME attributesstatic intCERTINFO_SET_TUNNELLINGFLAGtunneling flagstatic intCERTINFO_SIGG_ADDITIONALINFORMATIONsiggAdditionalInformationstatic intCERTINFO_SIGG_ADMISSIONSsiggAdmissionsstatic intCERTINFO_SIGG_ADMISSIONS_AUTHORITYauthoritystatic intCERTINFO_SIGG_ADMISSIONS_NAMINGAUTHIDnamingAuth.iDstatic intCERTINFO_SIGG_ADMISSIONS_NAMINGAUTHTEXTnamingAuth.textstatic intCERTINFO_SIGG_ADMISSIONS_NAMINGAUTHURLnamingAuth.uRLstatic intCERTINFO_SIGG_ADMISSIONS_PROFESSIONITEMprofessionItemstatic intCERTINFO_SIGG_ADMISSIONS_PROFESSIONOIDprofessionOIDstatic intCERTINFO_SIGG_ADMISSIONS_REGISTRATIONNUMBERregistrationNumberstatic intCERTINFO_SIGG_CERTHASHsiggCertHashstatic intCERTINFO_SIGG_DATEOFCERTGENsiggDateOfCertGenstatic intCERTINFO_SIGG_DECLARATIONOFMAJORITYsiggDeclarationOfMajoritystatic intCERTINFO_SIGG_DECLARATIONOFMAJORITY_COUNTRYfullAgeAtCountrystatic intCERTINFO_SIGG_MONETARY_AMOUNTamountstatic intCERTINFO_SIGG_MONETARY_CURRENCYcurrencystatic intCERTINFO_SIGG_MONETARY_EXPONENTexponentstatic intCERTINFO_SIGG_MONETARYLIMITsiggMonetaryLimitstatic intCERTINFO_SIGG_PROCURATIONsiggProcurationstatic intCERTINFO_SIGG_PROCURE_COUNTRYcountrystatic intCERTINFO_SIGG_PROCURE_SIGNINGFORsigningFor.thirdPersonstatic intCERTINFO_SIGG_PROCURE_TYPEOFSUBSTITUTIONtypeOfSubstitutionstatic intCERTINFO_SIGG_RESTRICTIONsiggRestrictionstatic intCERTINFO_SIGNATURELEVELAmount of detail to include in sigs.static intCERTINFO_STATEORPROVINCENAMEstateOrProvinceNamestatic intCERTINFO_STRONGEXTRANETstrongExtranetstatic intCERTINFO_STRONGEXTRANET_IDsxNetIDList.sxNetID.idstatic intCERTINFO_STRONGEXTRANET_ZONEsxNetIDList.sxNetID.zonestatic intCERTINFO_SUBJECTALTNAMEsubjectAltNamestatic intCERTINFO_SUBJECTDIRECTORYATTRIBUTESsubjectDirectoryAttributesstatic intCERTINFO_SUBJECTDOMAINPOLICYpolicyMappings.subjectDomainPolicystatic intCERTINFO_SUBJECTINFO_CAREPOSITORYaccessDescription.accessLocationstatic intCERTINFO_SUBJECTINFO_RPKIMANIFESTaccessDescription.accessLocationstatic intCERTINFO_SUBJECTINFO_SIGNEDOBJECTaccessDescription.accessLocationstatic intCERTINFO_SUBJECTINFO_SIGNEDOBJECTREPOSITORYaccessDescription.accessLocationstatic intCERTINFO_SUBJECTINFO_TIMESTAMPINGaccessDescription.accessLocationstatic intCERTINFO_SUBJECTINFOACCESSsubjectInfoAccessstatic intCERTINFO_SUBJECTKEYIDENTIFIERsubjectKeyIdentifierstatic intCERTINFO_SUBJECTNAMESubject Distinguished Namestatic intCERTINFO_SUBJECTPUBLICKEYINFOPublic keystatic intCERTINFO_SUBJECTUNIQUEIDSubject unique IDstatic intCERTINFO_THISUPDATECRL/OCSP current-update timestatic intCERTINFO_TOBEREVOKEDtoBeRevokedstatic intCERTINFO_TOBEREVOKED_CERTISSUERcertificateIssuerstatic intCERTINFO_TOBEREVOKED_CERTSERIALNUMBERcertSerialNumberstatic intCERTINFO_TOBEREVOKED_REASONCODEreasonCodestatic intCERTINFO_TOBEREVOKED_REVOCATIONTIMErevocationTimestatic intCERTINFO_TRUSTED_IMPLICITWhether cert is implicitly trustedstatic intCERTINFO_TRUSTED_USAGEUsage that cert is trusted forstatic intCERTINFO_UNIFORMRESOURCEIDENTIFIERuniformResourceIdentifierstatic intCERTINFO_URLuniformResourceIdentifierstatic intCERTINFO_USERCERTIFICATEUser certificatestatic intCERTINFO_VALIDFROMCertificate valid-from timestatic intCERTINFO_VALIDTOCertificate valid-to timestatic intCERTINFO_VERSIONCertificate format versionstatic intCERTINFO_XYZZYCert is a magic just-works certstatic intCERTSTATUS_LASTLast possible certificate statusstatic intCERTSTATUS_NONAUTHORITATIVEResponse is non-authoritativestatic intCERTSTATUS_NONENo certificate statusstatic intCERTSTATUS_NOTVALIDCertificate isn't validstatic intCERTSTATUS_UNKNOWNCertificate status unknownstatic intCERTSTATUS_VALIDCertificate validstatic intCERTTYPE_ATTRIBUTE_CERTAttribute certificatestatic intCERTTYPE_CERTCHAINPKCS #7 certificate chainstatic intCERTTYPE_CERTIFICATECertificatestatic intCERTTYPE_CERTREQUESTPKCS #10 certification requeststatic intCERTTYPE_CMS_ATTRIBUTESCMS attributesstatic intCERTTYPE_CRLCertificate Revocation Liststatic intCERTTYPE_LASTLast possible cert.typestatic intCERTTYPE_NONENo certificate typestatic intCERTTYPE_OCSP_REQUESTOCSP requeststatic intCERTTYPE_OCSP_RESPONSEOCSP responsestatic intCERTTYPE_PKIUSERPKI user informationstatic intCERTTYPE_REQUEST_CERTCRMF certification requeststatic intCERTTYPE_REQUEST_REVOCATIONCRMF revocation requeststatic intCERTTYPE_RTCS_REQUESTRTCS requeststatic intCERTTYPE_RTCS_RESPONSERTCS responsestatic intCLASSIFICATION_CONFIDENTIALstatic intCLASSIFICATION_LASTstatic intCLASSIFICATION_RESTRICTEDstatic intCLASSIFICATION_SECRETstatic intCLASSIFICATION_TOP_SECRETstatic intCLASSIFICATION_UNCLASSIFIEDstatic intCLASSIFICATION_UNMARKEDstatic intCMPOPTION_3GPPPeer is following 33.310static intCMPOPTION_NONE-static intCOMPLIANCELEVEL_LAST-static intCOMPLIANCELEVEL_OBLIVIOUS-static intCOMPLIANCELEVEL_PKIX_FULL-static intCOMPLIANCELEVEL_PKIX_PARTIAL-static intCOMPLIANCELEVEL_REDUCED-static intCOMPLIANCELEVEL_STANDARD-static intCONTENT_AUTHDATA-static intCONTENT_AUTHENVDATA-static intCONTENT_COMPRESSEDDATA-static intCONTENT_DATA-static intCONTENT_DIGESTEDDATA-static intCONTENT_ENCRYPTEDDATA-static intCONTENT_ENVELOPEDDATA-static intCONTENT_LAST-static intCONTENT_MRTD-static intCONTENT_NONE-static intCONTENT_RTCSREQUEST-static intCONTENT_RTCSRESPONSE-static intCONTENT_RTCSRESPONSE_EXT-static intCONTENT_SCVPCERTVALREQUEST-static intCONTENT_SCVPCERTVALRESPONSE-static intCONTENT_SCVPVALPOLREQUEST-static intCONTENT_SCVPVALPOLRESPONSE-static intCONTENT_SIGNEDANDENVELOPEDDATA-static intCONTENT_SIGNEDDATA-static intCONTENT_SPCINDIRECTDATACONTEXT-static intCONTENT_TSTINFO-static intCRLEXTREASON_LASTstatic intCRLREASON_AACOMPROMISEstatic intCRLREASON_AFFILIATIONCHANGEDstatic intCRLREASON_CACOMPROMISEstatic intCRLREASON_CERTIFICATEHOLDstatic intCRLREASON_CESSATIONOFOPERATIONstatic intCRLREASON_KEYCOMPROMISEstatic intCRLREASON_LASTEnd of standard CRL reasonsstatic intCRLREASON_NEVERVALIDstatic intCRLREASON_PRIVILEGEWITHDRAWNstatic intCRLREASON_REMOVEFROMCRLstatic intCRLREASON_SUPERSEDEDstatic intCRLREASON_UNSPECIFIEDstatic intCRLREASONFLAG_AFFILIATIONCHANGEDCRL reason: Affiliation changedstatic intCRLREASONFLAG_CACOMPROMISECRL reason: CA compromisestatic intCRLREASONFLAG_CERTIFICATEHOLDCRL reason: Certificate holdstatic intCRLREASONFLAG_CESSATIONOFOPERATIONCRL reason: Cessation of operationstatic intCRLREASONFLAG_KEYCOMPROMISECRL reason: Key compromisestatic intCRLREASONFLAG_LASTLast poss.valuestatic intCRLREASONFLAG_SUPERSEDEDCRL reason: Supersededstatic intCRLREASONFLAG_UNUSEDCRL reason: unusedstatic intCTXINFO_ALGOAlgorithmstatic intCTXINFO_BLOCKSIZEBlock sizestatic intCTXINFO_FIRSTFor internal usestatic intCTXINFO_HASHVALUEHash valuestatic intCTXINFO_IVIVstatic intCTXINFO_IVSIZEIV sizestatic intCTXINFO_KEYKeystatic intCTXINFO_KEY_COMPONENTSPublic-key componentsstatic intCTXINFO_KEYING_ALGOKey processing algorithmstatic intCTXINFO_KEYING_ITERATIONSKey processing iterationsstatic intCTXINFO_KEYING_SALTKey processing saltstatic intCTXINFO_KEYING_VALUEValue used to derive keystatic intCTXINFO_KEYSIZEKey size in bytesstatic intCTXINFO_LABELLabel for private/secret keystatic intCTXINFO_LAST-static intCTXINFO_MODEModestatic intCTXINFO_NAME_ALGOAlgorithm namestatic intCTXINFO_NAME_MODEMode namestatic intCTXINFO_PERSISTENTObj.is backed by device or keysetstatic intCURSOR_FIRSTCursor positioning code for first itemstatic intCURSOR_LASTCursor positioning code for last itemstatic intCURSOR_NEXTCursor positioning code for next itemstatic intCURSOR_PREVIOUSCursor positioning code for previous itemstatic intDEVICE_CRYPTOAPIMicrosoft CryptoAPIstatic intDEVICE_HARDWAREGeneric crypo HW pluginstatic intDEVICE_LASTLast possible crypto device typestatic intDEVICE_NONENo crypto devicestatic intDEVICE_PKCS11PKCS #11 crypto tokenstatic intDEVICE_TPMTPM, formerly Fortezzastatic intDEVINFO_AUTHENT_SUPERVISORAuthenticate supervisor to dev.static intDEVINFO_AUTHENT_USERAuthenticate user to devicestatic intDEVINFO_FIRSTFor internal usestatic intDEVINFO_INITIALISEInitialise device for usestatic intDEVINFO_INITIALIZEInitialise device for usestatic intDEVINFO_LABELDevice/token labelstatic intDEVINFO_LAST-static intDEVINFO_LOGGEDINWhether user is logged instatic intDEVINFO_SET_AUTHENT_SUPERVISORSet supervisor auth.val.static intDEVINFO_SET_AUTHENT_USERSet user authent.valuestatic intDEVINFO_ZEROISEZeroise devicestatic intDEVINFO_ZEROIZEZeroise devicestatic intECCCURVE_25519X25519/Ed25519static intECCCURVE_448X448/Ed448static intECCCURVE_BRAINPOOL_P256Brainpool p256r1static intECCCURVE_BRAINPOOL_P384Brainpool p384r1static intECCCURVE_BRAINPOOL_P512Brainpool p512r1static intECCCURVE_LASTLast valid ECC curve typestatic intECCCURVE_NONENo ECC curve typestatic intECCCURVE_P256NIST P256/X9.62 P256v1/SECG p256r1 curvestatic intECCCURVE_P384NIST P384, SECG p384r1 curvestatic intECCCURVE_P521NIST P521, SECG p521r1static intENVELOPE_RESOURCENeed resource to proceedstatic intENVINFO_COMPRESSIONCompression informationstatic intENVINFO_CONTENTTYPEInner CMS content typestatic intENVINFO_DATASIZEData size informationstatic intENVINFO_DETACHEDSIGNATUREDetached signaturestatic intENVINFO_FIRSTFor internal usestatic intENVINFO_HASHHash valuestatic intENVINFO_INTEGRITYIntegrity-protection levelstatic intENVINFO_KEYConventional encryption keystatic intENVINFO_KEYSET_DECRYPTPKC decryption keysetstatic intENVINFO_KEYSET_ENCRYPTPKC encryption keysetstatic intENVINFO_KEYSET_SIGCHECKSignature check keysetstatic intENVINFO_LAST-static intENVINFO_ORIGINATOROriginator info/keystatic intENVINFO_PASSWORDUser passwordstatic intENVINFO_PRIVATEKEYPKC decryption keystatic intENVINFO_PRIVATEKEY_LABELLabel of PKC decryption keystatic intENVINFO_PUBLICKEYPKC encryption keystatic intENVINFO_RECIPIENTRecipient email addressstatic intENVINFO_SESSIONKEYSession keystatic intENVINFO_SIGNATURESignature/signature check keystatic intENVINFO_SIGNATURE_EXTRADATAExtra information added to CMS sigsstatic intENVINFO_SIGNATURE_RESULTSignature check resultstatic intENVINFO_TIMESTAMPTimestamp informationstatic intERROR_BADDATABad/unrecognised data formatstatic intERROR_COMPLETEOperation complete/can't continuestatic intERROR_DUPLICATEItem already present in objectstatic intERROR_FAILEDOperation failedstatic intERROR_INCOMPLETEOperation incomplete/still in progressstatic intERROR_INITEDData has already been init'dstatic intERROR_INTERNALInternal consistency check failedstatic intERROR_INVALIDInvalid/inconsistent informationstatic intERROR_MEMORYOut of memorystatic intERROR_NOSECUREOpn.not avail.at requested sec.levelstatic intERROR_NOTAVAILThis type of opn.not availablestatic intERROR_NOTFOUNDRequested item not found in objectstatic intERROR_NOTINITEDData has not been initialisedstatic intERROR_OPENCannot open objectstatic intERROR_OVERFLOWResources/space exhaustedstatic intERROR_PARAM1Bad argument, parameter 1static intERROR_PARAM2Bad argument, parameter 2static intERROR_PARAM3Bad argument, parameter 3static intERROR_PARAM4Bad argument, parameter 4static intERROR_PARAM5Bad argument, parameter 5static intERROR_PARAM6Bad argument, parameter 6static intERROR_PARAM7Bad argument, parameter 7static intERROR_PERMISSIONNo permiss.to perform this operationstatic intERROR_RANDOMNo reliable random data availablestatic intERROR_READCannot read item from objectstatic intERROR_SIGNALLEDResource destroyed by extnl.eventstatic intERROR_SIGNATURESignature/integrity check failedstatic intERROR_TIMEOUTOperation timed out before completionstatic intERROR_UNDERFLOWNot enough data availablestatic intERROR_WRITECannot write item to objectstatic intERROR_WRONGKEYIncorrect key used to decrypt datastatic intERRTYPE_ATTR_ABSENTRequired attribute missingstatic intERRTYPE_ATTR_PRESENTNon-allowed attribute presentstatic intERRTYPE_ATTR_SIZEAttribute data too small or largestatic intERRTYPE_ATTR_VALUEAttribute value is invalidstatic intERRTYPE_CONSTRAINTCert: Constraint violation in objectstatic intERRTYPE_ISSUERCONSTRAINTCert: Constraint viol.in issuing certstatic intERRTYPE_LASTLast possible error info typestatic intERRTYPE_NONENo error informationstatic intFORMAT_AUTODeenv, auto-determine typestatic intFORMAT_CMSPKCS #7 / CMS / S/MIME fmt.static intFORMAT_CRYPTLIBcryptlib native formatstatic intFORMAT_LASTLast possible format typestatic intFORMAT_NONENo format typestatic intFORMAT_PGPPGP formatstatic intFORMAT_PKCS7PKCS #7 / CMS / S/MIME fmt.static intFORMAT_SMIMEAs CMS with MSG-style behaviourstatic intGENERIC_FIRSTFor internal usestatic intGENERIC_LAST-static intHOLDINSTRUCTION_CALLISSUERstatic intHOLDINSTRUCTION_LASTstatic intHOLDINSTRUCTION_NONEstatic intHOLDINSTRUCTION_PICKUPTOKENstatic intHOLDINSTRUCTION_REJECTstatic intINTEGRITY_FULLEncryption + ingerity protectionstatic intINTEGRITY_MACONLYMAC only, no encryptionstatic intINTEGRITY_NONENo integrity protectionstatic intKEYID_EMAILSynonym: owner email addr.static intKEYID_LASTLast possible key ID typestatic intKEYID_NAMEKey owner namestatic intKEYID_NONENo key ID typestatic intKEYID_URIKey owner URIstatic intKEYINFO_FIRSTFor internal usestatic intKEYINFO_LAST-static intKEYINFO_QUERYKeyset querystatic intKEYINFO_QUERY_REQUESTSQuery of requests in cert storestatic intKEYOPT_CREATECreate a new keysetstatic intKEYOPT_LASTLast possible key option typestatic intKEYOPT_NONENo optionsstatic intKEYOPT_READONLYOpen keyset in read-only modestatic intKEYSET_DATABASEODBC database interfacestatic intKEYSET_DATABASE_STOREODBC certificate storestatic intKEYSET_FILEGeneric flat file keysetstatic intKEYSET_HTTPWeb page containing cert/CRLstatic intKEYSET_LASTLast possible keyset typestatic intKEYSET_LDAPLDAP directory servicestatic intKEYSET_NONENo keyset typestatic intKEYSET_ODBCBackwards compatibilitystatic intKEYSET_ODBC_STOREODBC certificate storestatic intKEYTYPE_PRIVATEKey is a private public key cryptography keystatic intKEYTYPE_PUBLICKey is a ppublic public key cryptography keystatic intKEYUSAGE_CRLSIGNCRL signingstatic intKEYUSAGE_DATAENCIPHERMENTData enciphermentstatic intKEYUSAGE_DECIPHERONLYDecipher onlystatic intKEYUSAGE_DIGITALSIGNATUREDigital signaturestatic intKEYUSAGE_ENCIPHERONLYEncipher onlystatic intKEYUSAGE_KEYAGREEMENTKey agreementstatic intKEYUSAGE_KEYCERTSIGNKey certificate signingstatic intKEYUSAGE_KEYENCIPHERMENTKey enciphermentstatic intKEYUSAGE_LASTLast possible valuestatic intKEYUSAGE_NONENonestatic intKEYUSAGE_NONREPUDIATIONNon repudiationstatic intMAX_HASHSIZEThe maximum hash size in bytesstatic intMAX_IVSIZEMaximal user key initialsation vector size in bytesstatic intMAX_KEYSIZEMaximal user key size in bytesstatic intMAX_PKCSIZE_ECCThe maximum component size for ECCs in bytesstatic intMAX_TEXTSIZEThe maximum size of a text string (e.g.key owner name)static intMODE_CBCCBCstatic intMODE_CFBCFB, needed for PGPstatic intMODE_ECBECBstatic intMODE_GCMGCM, needed for SSH and TLSstatic intMODE_LASTLast possible crypt mode valuestatic intMODE_NONENo encryption modestatic intNS_CERTTYPE_LASTLast possible valuestatic intNS_CERTTYPE_OBJECTSIGNINGObject signingstatic intNS_CERTTYPE_OBJECTSIGNINGCAObject signing Certification Authoritystatic intNS_CERTTYPE_RESERVEDReservedstatic intNS_CERTTYPE_SMIMES/MIMEstatic intNS_CERTTYPE_SMIMECAS/MIME Certification Authoritystatic intNS_CERTTYPE_SSLCASSL Certification Authoritystatic intNS_CERTTYPE_SSLCLIENTSSL Clientstatic intNS_CERTTYPE_SSLSERVERSSL Serverstatic intOBJECT_ENCRYPTED_KEYConventionally encrypted keystatic intOBJECT_KEYAGREEMENTKey agreement informationstatic intOBJECT_LASTLast possible object typestatic intOBJECT_NONENo object typestatic intOBJECT_PKCENCRYPTED_KEYPKC-encrypted keystatic intOBJECT_SIGNATURESignaturestatic intOCSPSTATUS_NOTREVOKEDstatic intOCSPSTATUS_REVOKEDstatic intOCSPSTATUS_UNKNOWNstatic intOKNo errorstatic intOPTION_CERT_COMPLIANCELEVELPKIX compliance level for cert chks.static intOPTION_CERT_REQUIREPOLICYWhether explicit policy req'd for certsstatic intOPTION_CERT_SIGNUNRECOGNISEDATTRIBUTESWhether to sign unrecog.attrsstatic intOPTION_CERT_UPDATEINTERVALCRL update intervalstatic intOPTION_CERT_VALIDITYCertificate validity periodstatic intOPTION_CMS_DEFAULTATTRIBUTESAdd default CMS attributesstatic intOPTION_CONFIGCHANGEDWhether in-mem.opts match on-disk onesstatic intOPTION_DEVICE_PKCS11_DVR01Name of first PKCS #11 driverstatic intOPTION_DEVICE_PKCS11_DVR02Name of second PKCS #11 driverstatic intOPTION_DEVICE_PKCS11_DVR03Name of third PKCS #11 driverstatic intOPTION_DEVICE_PKCS11_DVR04Name of fourth PKCS #11 driverstatic intOPTION_DEVICE_PKCS11_DVR05Name of fifth PKCS #11 driverstatic intOPTION_DEVICE_PKCS11_HARDWAREONLYUse only hardware mechanismsstatic intOPTION_ENCR_ALGOConventional encryption algorithmstatic intOPTION_ENCR_HASHHash algorithmstatic intOPTION_ENCR_HASHPARAMHash/MAC parameterstatic intOPTION_ENCR_MACMAC algorithmstatic intOPTION_FIRSTFor internal usestatic intOPTION_INFO_COPYRIGHTCopyright noticestatic intOPTION_INFO_DESCRIPTIONText descriptionstatic intOPTION_INFO_MAJORVERSIONMajor release versionstatic intOPTION_INFO_MINORVERSIONMinor release versionstatic intOPTION_INFO_STEPPINGRelease steppingstatic intOPTION_KEYING_ALGOKey processing algorithmstatic intOPTION_KEYING_ITERATIONSKey processing iterationsstatic intOPTION_KEYS_LDAP_CACERTNAMECA certificate attribute namestatic intOPTION_KEYS_LDAP_CERTNAMECertificate attribute namestatic intOPTION_KEYS_LDAP_CRLNAMECRL attribute namestatic intOPTION_KEYS_LDAP_EMAILNAMEEmail attribute namestatic intOPTION_KEYS_LDAP_FILTERQuery filterstatic intOPTION_KEYS_LDAP_OBJECTCLASSObject classstatic intOPTION_KEYS_LDAP_OBJECTTYPEObject type to fetchstatic intOPTION_LAST-static intOPTION_MISC_ASYNCINITWhether to init cryptlib async'lystatic intOPTION_MISC_SIDECHANNELPROTECTIONProtect against side-channel attacksstatic intOPTION_NET_CONNECTTIMEOUTTimeout for network connection setupstatic intOPTION_NET_HTTP_PROXYWeb proxy serverstatic intOPTION_NET_READTIMEOUTTimeout for network readsstatic intOPTION_NET_SOCKS_SERVERSocks server namestatic intOPTION_NET_SOCKS_USERNAMESocks user namestatic intOPTION_NET_WRITETIMEOUTTimeout for network writesstatic intOPTION_PKC_ALGOPKC algorithmstatic intOPTION_PKC_FORMATPKC formatstatic intOPTION_PKC_KEYSIZEPKC key sizestatic intOPTION_SELFTESTOKWhether self-test was completed and OKstatic intOPTION_SMIME_DEFAULTATTRIBUTESAdd default CMS attributesstatic intPKCFORMAT_DEFAULTdefault PKCS format typestatic intPKCFORMAT_LASTLast possible PKC format typestatic intPKCFORMAT_NONENo PKC format typestatic intPKCFORMAT_OAEPRSA-OAEPstatic intPKCFORMAT_PKCS1PKCS #1 format typestatic intPKCFORMAT_PSSRSA-PSSstatic intPROPERTY_FIRSTFor internal usestatic intPROPERTY_FORWARDCOUNTNo.of times object can be forwardedstatic intPROPERTY_HIGHSECURITYOwned+non-forwardcount+lockedstatic intPROPERTY_LAST-static intPROPERTY_LOCKEDWhether properties can be chged/readstatic intPROPERTY_NONEXPORTABLEWhether key is nonexp.from contextstatic intPROPERTY_OWNERObject ownerstatic intPROPERTY_USAGECOUNTUsage count before object expiresstatic intRANDOM_FASTPOLLfast polling to perform to get random seed information.static intRANDOM_SLOWPOLLslow polling to perform to get random seed information.static intREQUESTTYPE_CERTIFICATECertification requeststatic intREQUESTTYPE_INITIALISATIONInitialisation requeststatic intREQUESTTYPE_INITIALIZATIONInitialisation requeststatic intREQUESTTYPE_KEYUPDATEKey update requeststatic intREQUESTTYPE_LASTLast possible request typestatic intREQUESTTYPE_NONENo request typestatic intREQUESTTYPE_PKIBOOTPKIBoot requeststatic intREQUESTTYPE_REVOCATIONCert revocation requeststatic intSESSINFO_ACTIVEWhether session is activestatic intSESSINFO_AUTHRESPONSESession authorisation OKstatic intSESSINFO_AUTHTOKENAuthentication token, e.g.static intSESSINFO_CACERTIFICATEIssuing CA certificatestatic intSESSINFO_CLIENT_NAMEClient namestatic intSESSINFO_CLIENT_PORTClient port numberstatic intSESSINFO_CMP_OPTIONSCMP protocol optionsstatic intSESSINFO_CMP_PRIVKEYSETPrivate-key keysetstatic intSESSINFO_CMP_REQUESTTYPERequest typestatic intSESSINFO_CONNECTIONACTIVEWhether network connection is activestatic intSESSINFO_FIRSTFor internal usestatic intSESSINFO_KEYSETCertificate storestatic intSESSINFO_LAST-static intSESSINFO_NETWORKSOCKETUser-supplied network socketstatic intSESSINFO_PASSWORDPasswordstatic intSESSINFO_PRIVATEKEYServer/client private keystatic intSESSINFO_REQUESTCert.request objectstatic intSESSINFO_RESPONSECert.response objectstatic intSESSINFO_SERVER_FINGERPRINT_SHA2Server key fingerprintstatic intSESSINFO_SERVER_NAMEServer namestatic intSESSINFO_SERVER_PORTServer port numberstatic intSESSINFO_SESSIONTransport mechanismstatic intSESSINFO_SSH_CHANNELSSH current channelstatic intSESSINFO_SSH_CHANNEL_ACTIVESSH channel activestatic intSESSINFO_SSH_CHANNEL_ARG1SSH channel argument 1static intSESSINFO_SSH_CHANNEL_ARG2SSH channel argument 2static intSESSINFO_SSH_CHANNEL_TYPESSH channel typestatic intSESSINFO_SSH_PREAUTHSSH pre-authentication valuestatic intSESSINFO_SSL_OPTIONSSSL/TLS protocol optionsstatic intSESSINFO_TLS_EAPCHALLENGETLS EAP challengestatic intSESSINFO_TLS_EAPDATATLS EAP additional datastatic intSESSINFO_TLS_EAPKEYTLS EAP keystatic intSESSINFO_TLS_OPTIONSSSL/TLS protocol optionsstatic intSESSINFO_TLS_SUBPROTOCOLSSL/TLS additional sub-protocolstatic intSESSINFO_TLS_WSPROTOCOLSSL/TLS WebSockets sub-protocolstatic intSESSINFO_TSP_MSGIMPRINTTSP message imprintstatic intSESSINFO_USERNAMEUser namestatic intSESSINFO_VERSIONProtocol versionstatic intSESSION_CERTSTORE_SERVERHTTP cert store interfacestatic intSESSION_CMPCMPstatic intSESSION_CMP_SERVERCMP serverstatic intSESSION_LASTLast possible session typestatic intSESSION_NONENo session typestatic intSESSION_OCSPOCSPstatic intSESSION_OCSP_SERVEROCSP serverstatic intSESSION_RTCSRTCSstatic intSESSION_RTCS_SERVERRTCS serverstatic intSESSION_SCEPSCEPstatic intSESSION_SCEP_SERVERSCEP serverstatic intSESSION_SCVPSCVPstatic intSESSION_SCVP_SERVERSCVP serverstatic intSESSION_SSHSSHstatic intSESSION_SSH_SERVERSSH serverstatic intSESSION_SSLTLSstatic intSESSION_SSL_SERVERTLS serverstatic intSESSION_TLSTLSstatic intSESSION_TLS_SERVERTLS serverstatic intSESSION_TSPTSPstatic intSESSION_TSP_SERVERTSP serverstatic intSET_CERTTYPE_ACQ-static intSET_CERTTYPE_BCA-static intSET_CERTTYPE_CARD-static intSET_CERTTYPE_CCA-static intSET_CERTTYPE_GCA-static intSET_CERTTYPE_LASTLast possible valuestatic intSET_CERTTYPE_MCA-static intSET_CERTTYPE_MER-static intSET_CERTTYPE_PCA-static intSET_CERTTYPE_PGWY-static intSET_CERTTYPE_RCA-static intSIGNATURELEVEL_ALLInclude all relevant infostatic intSIGNATURELEVEL_LASTLast possible sig.level typestatic intSIGNATURELEVEL_NONEInclude only signaturestatic intSIGNATURELEVEL_SIGNERCERTInclude signer certstatic intSUBPROTOCOL_EAPTTLSEAP-TTLSstatic intSUBPROTOCOL_LASTLast possible sub-protocol typestatic intSUBPROTOCOL_NONENo sub-protocol typestatic intSUBPROTOCOL_PEAPPEAPstatic intSUBPROTOCOL_WEBSOCKETSWebsocketsstatic intTLSOPTION_DISABLE_CERTVERIFYDisable certificate checkstatic intTLSOPTION_DISABLE_NAMEVERIFYDisable cert hostname checkstatic intTLSOPTION_MANUAL_CERTCHECKRequire manual cert.verificationstatic intTLSOPTION_MINVER_SSLV3Min.protocol versionstatic intTLSOPTION_MINVER_TLS10Min.protocol version: TLS 1.0static intTLSOPTION_MINVER_TLS11Min.protocol version: TLS 1.1static intTLSOPTION_MINVER_TLS12Min.protocol version: TLS 1.2static intTLSOPTION_MINVER_TLS13Min.protocol version: TLS 1.3static intTLSOPTION_NONEMin.protocol versionstatic intTLSOPTION_RESUMEDTLS session is resumedstatic intTLSOPTION_SERVER_SNIEnable SNI-based key selectionstatic intTLSOPTION_SUITEB_128SuiteB security levels (willstatic intTLSOPTION_SUITEB_256vanish in future releases)static intUNUSEDA magic value for unused parametersstatic intUSE_DEFAULTA magic value indicating that the default setting for this parameter should be used.static intUSER_CACA userstatic intUSER_LASTLast possible user typestatic intUSER_NONENo user typestatic intUSER_NORMALNormal userstatic intUSER_SOSecurity officerstatic intUSERINFO_CAKEY_CERTSIGNCA cert signing keystatic intUSERINFO_CAKEY_CRLSIGNCA CRL signing keystatic intUSERINFO_CAKEY_OCSPSIGNCA OCSP signing keystatic intUSERINFO_CAKEY_RTCSSIGNCA RTCS signing keystatic intUSERINFO_FIRSTFor internal usestatic intUSERINFO_LAST-static intUSERINFO_PASSWORDPassword
-
Constructor Summary
Constructors Constructor Description crypt()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidAddCertExtension(int certificate, java.lang.String oid, int criticalFlag, byte[] extension)static voidAddCertExtension(int certificate, java.lang.String oid, int criticalFlag, byte[] extension, int extensionOffset, int extensionLength)static voidAddCertExtension(int certificate, java.lang.String oid, int criticalFlag, java.lang.String extension)static voidAddCertExtension(int certificate, java.lang.String oid, int criticalFlag, java.nio.ByteBuffer extension)static voidAddCertExtension(int certificate, java.lang.String oid, int criticalFlag, java.nio.ByteBuffer extension, int extensionOffset, int extensionLength)The cryptAddCertExtension function is used to add a generic blob-type certificate extension to a certificate object.static voidAddPrivateKey(int keyset, int cryptKey, java.lang.String password)The cryptAddPrivateKey function is used to add a user’s private key to a keyset.static voidAddPublicKey(int keyset, int certificate)The cryptAddPublicKey function is used to add a user’s public key or certificate to a keyset.static voidAddRandom(byte[] randomData)static voidAddRandom(byte[] randomData, int randomDataOffset, int randomDataLength)static voidAddRandom(int pollType)static voidAddRandom(java.lang.String randomData)static voidAddRandom(java.nio.ByteBuffer randomData)static voidAddRandom(java.nio.ByteBuffer randomData, int randomDataOffset, int randomDataLength)The cryptAddRandom function is used to add random data to the internal random data pool maintained by cryptlib, or to tell cryptlib to poll the system for random information.static voidCAAddItem(int keyset, int certificate)The cryptCAAddItem function is used to add a certificate object to a certificate store.static intCACertManagement(int action, int keyset, int caKey, int certRequest)The cryptCACertManagement function is used to perform a CA certificate management operation such as a certificate issue, revocation, CRL issue, certificate expiry, or other operation with a certificate store.static voidCADeleteItem(int keyset, int certType, int keyIDtype, java.lang.String keyID)no function comment avaiilablestatic intCAGetItem(int keyset, int certType, int keyIDtype, java.lang.String keyID)The cryptCAGetItem function is used to read a certificate object from a certificate store.static voidCheckCert(int certificate, int sigCheckKey)The cryptCheckCert function is used to check the signature on a certificate object, or to verify a certificate object against a CRL or a keyset containing a CRL.static voidCheckSignature(byte[] signature, int sigCheckKey, int hashContext)static voidCheckSignature(byte[] signature, int signatureOffset, int signatureLength, int sigCheckKey, int hashContext)static voidCheckSignature(java.lang.String signature, int sigCheckKey, int hashContext)static voidCheckSignature(java.nio.ByteBuffer signature, int sigCheckKey, int hashContext)static voidCheckSignature(java.nio.ByteBuffer signature, int signatureOffset, int signatureLength, int sigCheckKey, int hashContext)The cryptCheckSignature function is used to check the digital signature on a piece of data.static intCheckSignatureEx(byte[] signature, int sigCheckKey, int hashContext)static intCheckSignatureEx(byte[] signature, int signatureOffset, int signatureLength, int sigCheckKey, int hashContext)static intCheckSignatureEx(java.lang.String signature, int sigCheckKey, int hashContext)static intCheckSignatureEx(java.nio.ByteBuffer signature, int sigCheckKey, int hashContext)static intCheckSignatureEx(java.nio.ByteBuffer signature, int signatureOffset, int signatureLength, int sigCheckKey, int hashContext)The cryptCheckSignatureEx function is used to check the digital signature on a piece of data with extended control over the signature information.static intCreateCert(int cryptUser, int certType)The cryptCreateCert function is used to create a certificate object that contains a certificatestatic intCreateContext(int cryptUser, int cryptAlgo)The cryptCreateContext function is used to create an encryption context for a given encryption algorithm.static intCreateEnvelope(int cryptUser, int formatType)The cryptCreateEnvelope function is used to create an envelope object for encrypting or decrypting, signing or signature checking, compressing or decompressing, or otherwise processing data.static intCreateSession(int cryptUser, int formatType)The cryptCreateSession function is used to create a secure session object for use in securing a communications link or otherwise communicating with a remote server or client.static intCreateSignature(byte[] signature, int signatureMaxLength, int signContext, int hashContext)static intCreateSignature(byte[] signature, int signatureOffset, int signatureMaxLength, int signContext, int hashContext)static intCreateSignature(java.nio.ByteBuffer signature, int signatureMaxLength, int signContext, int hashContext)static intCreateSignature(java.nio.ByteBuffer signature, int signatureOffset, int signatureMaxLength, int signContext, int hashContext)The cryptCreateSignature function digitally signs a piece of data.static intCreateSignatureEx(byte[] signature, int signatureMaxLength, int formatType, int signContext, int hashContext, int extraData)static intCreateSignatureEx(byte[] signature, int signatureOffset, int signatureMaxLength, int formatType, int signContext, int hashContext, int extraData)static intCreateSignatureEx(java.nio.ByteBuffer signature, int signatureMaxLength, int formatType, int signContext, int hashContext, int extraData)static intCreateSignatureEx(java.nio.ByteBuffer signature, int signatureOffset, int signatureMaxLength, int formatType, int signContext, int hashContext, int extraData)The cryptCreateSignatureEx function digitally signs a piece of data with extended control over the signature format.static voidDecrypt(int cryptContext, byte[] buffer)static voidDecrypt(int cryptContext, byte[] buffer, int bufferOffset, int length)static voidDecrypt(int cryptContext, java.nio.ByteBuffer buffer)static voidDecrypt(int cryptContext, java.nio.ByteBuffer buffer, int bufferOffset, int length)The cryptDecrypt function is used to decrypt or hash data.static voidDeleteAttribute(int cryptHandle, int attributeType)The cryptDeleteAttribute function is used to delete an attribute from an object.static voidDeleteCertExtension(int certificate, java.lang.String oid)The cryptDeleteCertExtension function is used to delete a generic blob-type certificate extension from a certificate object.static voidDeleteKey(int keyset, int keyIDtype, java.lang.String keyID)The cryptDeleteKey function is used to delete a key or certificate from a keyset ordevice.static voidDestroyCert(int certificate)The cryptDestroyCert function is used to destroy a certificate object after use.static voidDestroyContext(int cryptContext)The cryptDestroyContext function is used to destroy an encryption context after use.static voidDestroyEnvelope(int envelope)The cryptDestroyEnvelope function is used to destroy an envelope after use.static voidDestroyObject(int cryptObject)The cryptDestroyObject function is used to destroy a cryptlib object after use.static voidDestroySession(int session)The cryptDestroySession function is used to destroy a session object after use.static voidDeviceClose(int device)The cryptDeviceClose function is used to destroy a device object after use.static intDeviceCreateContext(int device, int cryptAlgo)The cryptDeviceCreateContext function is used to create an encryption context for a given encryption algorithm via an encryption device.static intDeviceOpen(int cryptUser, int deviceType, java.lang.String name)The cryptDeviceOpen function is used to establish a connection to a crypto device such as a crypto hardware accelerator or a PCMCIA card or smart card.static CRYPT_QUERY_INFODeviceQueryCapability(int device, int cryptAlgo)The cryptDeviceQueryCapability function is used to obtain information about the characteristics of a particular encryption algorithm provided by an encryption device.static voidEncrypt(int cryptContext, byte[] buffer)static voidEncrypt(int cryptContext, byte[] buffer, int bufferOffset, int length)static voidEncrypt(int cryptContext, java.nio.ByteBuffer buffer)static voidEncrypt(int cryptContext, java.nio.ByteBuffer buffer, int bufferOffset, int length)The cryptEncrypt function is used to encrypt or hash data.static voidEnd()The cryptEnd function is used to shut down cryptlib after use.static intExportCert(byte[] certObject, int certObjectMaxLength, int certFormatType, int certificate)static intExportCert(byte[] certObject, int certObjectOffset, int certObjectMaxLength, int certFormatType, int certificate)static intExportCert(java.nio.ByteBuffer certObject, int certObjectMaxLength, int certFormatType, int certificate)static intExportCert(java.nio.ByteBuffer certObject, int certObjectOffset, int certObjectMaxLength, int certFormatType, int certificate)The cryptExportCert function is used to export an encoded signed public key certificate, certification request, CRL, or other certificate-related item from a certificate container object.static voidFlushData(int envelope)The cryptFlushData function is used to flush data through an envelope or session object, completing processing and (for session objects) sending the data to the remote client or server.static voidGenerateKey(int cryptContext)The cryptGenerateKey function is used to generate a new key into an encryption context.static intGetAttribute(int cryptHandle, int attributeType)The cryptGetAttribute function is used to obtain a boolean or numeric value, status information, or object from a cryptlib object.static java.lang.StringGetAttributeString(int cryptHandle, int attributeType)static intGetAttributeString(int cryptHandle, int attributeType, byte[] value)static intGetAttributeString(int cryptHandle, int attributeType, byte[] value, int valueOffset)static intGetAttributeString(int cryptHandle, int attributeType, java.nio.ByteBuffer value)static intGetAttributeString(int cryptHandle, int attributeType, java.nio.ByteBuffer value, int valueOffset)The cryptGetAttributeString function is used to obtain text or binary strings or time values from a cryptlib object.static intGetCertExtension(int certificate, java.lang.String oid, byte[] extension, int extensionMaxLength)static intGetCertExtension(int certificate, java.lang.String oid, byte[] extension, int extensionOffset, int extensionMaxLength)static intGetCertExtension(int certificate, java.lang.String oid, java.nio.ByteBuffer extension, int extensionMaxLength)static intGetCertExtension(int certificate, java.lang.String oid, java.nio.ByteBuffer extension, int extensionOffset, int extensionMaxLength)The cryptGetCertExtension function is used to obtain a generic blob-type certificate extension from a certificate object or public or private key with an attached certificate.static intGetKey(int keyset, int keyIDtype, java.lang.String keyID, java.lang.String password)see GetPublicKeystatic intGetPrivateKey(int keyset, int keyIDtype, java.lang.String keyID, java.lang.String password)The cryptGetPrivateKey function is used to create an encryption context from a private key in a keyset or crypto device.static intGetPublicKey(int keyset, int keyIDtype, java.lang.String keyID)The cryptGetPublicKey function is used to create an encryption context from a public key in a keyset or crypto device.static intImportCert(byte[] certObject, int cryptUser)static intImportCert(byte[] certObject, int certObjectOffset, int certObjectLength, int cryptUser)static intImportCert(java.lang.String certObject, int cryptUser)static intImportCert(java.nio.ByteBuffer certObject, int cryptUser)static intImportCert(java.nio.ByteBuffer certObject, int certObjectOffset, int certObjectLength, int cryptUser)The cryptImportCert function is used to import an encoded certificate, certification request, CRL, or other certificate-related item into a certificate container object.static voidInit()The cryptInit function is used to initialise cryptlib before use.static voidKeysetClose(int keyset)The cryptKeysetClose function is used to destroy a keyset object after use.static intKeysetOpen(int cryptUser, int keysetType, java.lang.String name, int options)The cryptKeysetOpen function is used to establish a connection to a key collection or keyset.static intLogin(java.lang.String name, java.lang.String password)Log on / create a user objectstatic voidLogout(int user)Log out / destroy a user objectstatic intPopData(int envelope, byte[] buffer, int length)static intPopData(int envelope, byte[] buffer, int bufferOffset, int length)static intPopData(int envelope, java.nio.ByteBuffer buffer, int length)static intPopData(int envelope, java.nio.ByteBuffer buffer, int bufferOffset, int length)The cryptPopData function is used to remove data from an envelope or session object.static intPushData(int envelope, byte[] buffer)static intPushData(int envelope, byte[] buffer, int bufferOffset, int length)static intPushData(int envelope, java.lang.String buffer)static intPushData(int envelope, java.nio.ByteBuffer buffer)static intPushData(int envelope, java.nio.ByteBuffer buffer, int bufferOffset, int length)The cryptPushData function is used to add data to an envelope or session object.static CRYPT_QUERY_INFOQueryCapability(int cryptAlgo)The cryptQueryCapability function is used to obtain information about the characteristics of a particular encryption algorithm.static CRYPT_OBJECT_INFOQueryObject(byte[] objectData)static CRYPT_OBJECT_INFOQueryObject(byte[] objectData, int objectDataOffset, int objectDataLength)static CRYPT_OBJECT_INFOQueryObject(java.lang.String objectData)static CRYPT_OBJECT_INFOQueryObject(java.nio.ByteBuffer objectData)static CRYPT_OBJECT_INFOQueryObject(java.nio.ByteBuffer objectData, int objectDataOffset, int objectDataLength)The cryptQueryObject function is used to obtain information about an exported key object created with cryptWrapKey or a signature object created with cryptCreateSignature.static voidSetAttribute(int cryptHandle, int attributeType, int value)The cryptSetAttribute function is used to add boolean or numeric information, command codes, and objects to a cryptlib object.static voidSetAttributeString(int cryptHandle, int attributeType, byte[] value)static voidSetAttributeString(int cryptHandle, int attributeType, byte[] value, int valueOffset, int valueLength)static voidSetAttributeString(int cryptHandle, int attributeType, java.lang.String value)static voidSetAttributeString(int cryptHandle, int attributeType, java.nio.ByteBuffer value)static voidSetAttributeString(int cryptHandle, int attributeType, java.nio.ByteBuffer value, int valueOffset, int valueLength)The cryptSetAttributeString function is used to add text or binary strings or time values to an object.static voidSignCert(int certificate, int signContext)The cryptSignCert function is used to digitally sign a public key certificate, CA certificate, certification request, CRL, or other certificate-related item held in a certificate container object.static voidUnwrapKey(byte[] encryptedKey, int importKey, int sessionKeyContext)static voidUnwrapKey(byte[] encryptedKey, int encryptedKeyOffset, int encryptedKeyLength, int importKey, int sessionKeyContext)static voidUnwrapKey(java.lang.String encryptedKey, int importKey, int sessionKeyContext)static voidUnwrapKey(java.nio.ByteBuffer encryptedKey, int importKey, int sessionKeyContext)static voidUnwrapKey(java.nio.ByteBuffer encryptedKey, int encryptedKeyOffset, int encryptedKeyLength, int importKey, int sessionKeyContext)The cryptUnwrapKey function is used to share a session key between two parties by unwrapping an encrypted session key that was previously wrapped with cryptWrapKey into an encryption context.static intUnwrapKeyEx(byte[] encryptedKey, int importKey, int sessionKeyContext)static intUnwrapKeyEx(byte[] encryptedKey, int encryptedKeyOffset, int encryptedKeyLength, int importKey, int sessionKeyContext)static intUnwrapKeyEx(java.lang.String encryptedKey, int importKey, int sessionKeyContext)static intUnwrapKeyEx(java.nio.ByteBuffer encryptedKey, int importKey, int sessionKeyContext)static intUnwrapKeyEx(java.nio.ByteBuffer encryptedKey, int encryptedKeyOffset, int encryptedKeyLength, int importKey, int sessionKeyContext)cryptUnwrapKeyEx takes one extra parameter, a pointer to the wrapped key, which is required for OpenPGP key import.static intWrapKey(byte[] encryptedKey, int encryptedKeyMaxLength, int exportKey, int sessionKeyContext)static intWrapKey(byte[] encryptedKey, int encryptedKeyOffset, int encryptedKeyMaxLength, int exportKey, int sessionKeyContext)static intWrapKey(java.nio.ByteBuffer encryptedKey, int encryptedKeyMaxLength, int exportKey, int sessionKeyContext)static intWrapKey(java.nio.ByteBuffer encryptedKey, int encryptedKeyOffset, int encryptedKeyMaxLength, int exportKey, int sessionKeyContext)The cryptWrapKey function is used to share a session key between two parties by wrapping a session key from a context in a secure manner.static intWrapKeyEx(byte[] encryptedKey, int encryptedKeyMaxLength, int formatType, int exportKey, int sessionKeyContext)static intWrapKeyEx(byte[] encryptedKey, int encryptedKeyOffset, int encryptedKeyMaxLength, int formatType, int exportKey, int sessionKeyContext)static intWrapKeyEx(java.nio.ByteBuffer encryptedKey, int encryptedKeyMaxLength, int formatType, int exportKey, int sessionKeyContext)static intWrapKeyEx(java.nio.ByteBuffer encryptedKey, int encryptedKeyOffset, int encryptedKeyMaxLength, int formatType, int exportKey, int sessionKeyContext)The cryptWrapKeyEx function is used to share a session key between two parties by wrapping a session key from a context in a secure manner with extended control over the wrapped key format.
-
-
-
Field Detail
-
ALGO_NONE
public static final int ALGO_NONE
No encryption- See Also:
- Constant Field Values
-
ALGO_DES
public static final int ALGO_DES
DES- See Also:
- Constant Field Values
-
ALGO_3DES
public static final int ALGO_3DES
Triple DES- See Also:
- Constant Field Values
-
ALGO_IDEA
public static final int ALGO_IDEA
IDEA (only used for PGP 2.x)- See Also:
- Constant Field Values
-
ALGO_CAST
public static final int ALGO_CAST
CAST-128 (only used for OpenPGP)- See Also:
- Constant Field Values
-
ALGO_RC2
public static final int ALGO_RC2
RC2 (disabled by default, used for PKCS #12)- See Also:
- Constant Field Values
-
ALGO_RC4
public static final int ALGO_RC4
RC4 (insecure, disabled by default)- See Also:
- Constant Field Values
-
ALGO_RESERVED1
public static final int ALGO_RESERVED1
Formerly RC5- See Also:
- Constant Field Values
-
ALGO_AES
public static final int ALGO_AES
AES- See Also:
- Constant Field Values
-
ALGO_RESERVED2
public static final int ALGO_RESERVED2
Formerly Blowfish- See Also:
- Constant Field Values
-
ALGO_CHACHA20
public static final int ALGO_CHACHA20
ChaCha20- See Also:
- Constant Field Values
-
ALGO_DH
public static final int ALGO_DH
Diffie-Hellman- See Also:
- Constant Field Values
-
ALGO_RSA
public static final int ALGO_RSA
RSA- See Also:
- Constant Field Values
-
ALGO_DSA
public static final int ALGO_DSA
DSA- See Also:
- Constant Field Values
-
ALGO_ELGAMAL
public static final int ALGO_ELGAMAL
ElGamal- See Also:
- Constant Field Values
-
ALGO_RESERVED3
public static final int ALGO_RESERVED3
Formerly KEA- See Also:
- Constant Field Values
-
ALGO_ECDSA
public static final int ALGO_ECDSA
ECDSA- See Also:
- Constant Field Values
-
ALGO_ECDH
public static final int ALGO_ECDH
ECDH- See Also:
- Constant Field Values
-
ALGO_25519
public static final int ALGO_25519
X25519- See Also:
- Constant Field Values
-
ALGO_ED25519
public static final int ALGO_ED25519
Ed25519- See Also:
- Constant Field Values
-
ALGO_RESERVED4
public static final int ALGO_RESERVED4
Formerly MD2- See Also:
- Constant Field Values
-
ALGO_RESERVED5
public static final int ALGO_RESERVED5
Formerly MD4- See Also:
- Constant Field Values
-
ALGO_MD5
public static final int ALGO_MD5
MD5 (only used internally for TLS 1.0/1.1)- See Also:
- Constant Field Values
-
ALGO_SHA1
public static final int ALGO_SHA1
SHA/SHA1- See Also:
- Constant Field Values
-
ALGO_RESERVED6
public static final int ALGO_RESERVED6
Formerly RIPE-MD 160- See Also:
- Constant Field Values
-
ALGO_SHA2
public static final int ALGO_SHA2
SHA-256- See Also:
- Constant Field Values
-
ALGO_SHA256
public static final int ALGO_SHA256
Alternate name- See Also:
- Constant Field Values
-
ALGO_SHAng
public static final int ALGO_SHAng
Future SHA-nextgen standard- See Also:
- Constant Field Values
-
ALGO_RESERVED7
public static final int ALGO_RESERVED7
Formerly HMAC-MD5- See Also:
- Constant Field Values
-
ALGO_HMAC_SHA1
public static final int ALGO_HMAC_SHA1
HMAC-SHA- See Also:
- Constant Field Values
-
ALGO_RESERVED8
public static final int ALGO_RESERVED8
Formerly HMAC-RIPEMD 160- See Also:
- Constant Field Values
-
ALGO_HMAC_SHA2
public static final int ALGO_HMAC_SHA2
HMAC-SHA2- See Also:
- Constant Field Values
-
ALGO_HMAC_SHAng
public static final int ALGO_HMAC_SHAng
HMAC-SHA-nextgen- See Also:
- Constant Field Values
-
ALGO_POLY1305
public static final int ALGO_POLY1305
Poly1305- See Also:
- Constant Field Values
-
ALGO_LAST
public static final int ALGO_LAST
Last possible crypt algo value- See Also:
- Constant Field Values
-
ALGO_FIRST_CONVENTIONAL
public static final int ALGO_FIRST_CONVENTIONAL
first conventional cipher- See Also:
- Constant Field Values
-
ALGO_LAST_CONVENTIONAL
public static final int ALGO_LAST_CONVENTIONAL
last conventional cipher- See Also:
- Constant Field Values
-
ALGO_FIRST_PKC
public static final int ALGO_FIRST_PKC
first public key cipher- See Also:
- Constant Field Values
-
ALGO_LAST_PKC
public static final int ALGO_LAST_PKC
last public key cipher- See Also:
- Constant Field Values
-
ALGO_FIRST_HASH
public static final int ALGO_FIRST_HASH
first hash algorithm- See Also:
- Constant Field Values
-
ALGO_LAST_HASH
public static final int ALGO_LAST_HASH
last hash algorithm- See Also:
- Constant Field Values
-
ALGO_FIRST_MAC
public static final int ALGO_FIRST_MAC
first message authentication cipher- See Also:
- Constant Field Values
-
ALGO_LAST_MAC
public static final int ALGO_LAST_MAC
last message authentication cipher- See Also:
- Constant Field Values
-
MODE_NONE
public static final int MODE_NONE
No encryption mode- See Also:
- Constant Field Values
-
MODE_ECB
public static final int MODE_ECB
ECB- See Also:
- Constant Field Values
-
MODE_CBC
public static final int MODE_CBC
CBC- See Also:
- Constant Field Values
-
MODE_CFB
public static final int MODE_CFB
CFB, needed for PGP- See Also:
- Constant Field Values
-
MODE_GCM
public static final int MODE_GCM
GCM, needed for SSH and TLS- See Also:
- Constant Field Values
-
MODE_LAST
public static final int MODE_LAST
Last possible crypt mode value- See Also:
- Constant Field Values
-
PKCFORMAT_NONE
public static final int PKCFORMAT_NONE
No PKC format type- See Also:
- Constant Field Values
-
PKCFORMAT_PKCS1
public static final int PKCFORMAT_PKCS1
PKCS #1 format type- See Also:
- Constant Field Values
-
PKCFORMAT_DEFAULT
public static final int PKCFORMAT_DEFAULT
default PKCS format type- See Also:
- Constant Field Values
-
PKCFORMAT_OAEP
public static final int PKCFORMAT_OAEP
RSA-OAEP- See Also:
- Constant Field Values
-
PKCFORMAT_PSS
public static final int PKCFORMAT_PSS
RSA-PSS- See Also:
- Constant Field Values
-
PKCFORMAT_LAST
public static final int PKCFORMAT_LAST
Last possible PKC format type- See Also:
- Constant Field Values
-
KEYSET_NONE
public static final int KEYSET_NONE
No keyset type- See Also:
- Constant Field Values
-
KEYSET_FILE
public static final int KEYSET_FILE
Generic flat file keyset- See Also:
- Constant Field Values
-
KEYSET_HTTP
public static final int KEYSET_HTTP
Web page containing cert/CRL- See Also:
- Constant Field Values
-
KEYSET_LDAP
public static final int KEYSET_LDAP
LDAP directory service- See Also:
- Constant Field Values
-
KEYSET_DATABASE
public static final int KEYSET_DATABASE
ODBC database interface- See Also:
- Constant Field Values
-
KEYSET_ODBC
public static final int KEYSET_ODBC
Backwards compatibility- See Also:
- Constant Field Values
-
KEYSET_DATABASE_STORE
public static final int KEYSET_DATABASE_STORE
ODBC certificate store- See Also:
- Constant Field Values
-
KEYSET_ODBC_STORE
public static final int KEYSET_ODBC_STORE
ODBC certificate store- See Also:
- Constant Field Values
-
KEYSET_LAST
public static final int KEYSET_LAST
Last possible keyset type- See Also:
- Constant Field Values
-
DEVICE_NONE
public static final int DEVICE_NONE
No crypto device- See Also:
- Constant Field Values
-
DEVICE_TPM
public static final int DEVICE_TPM
TPM, formerly Fortezza- See Also:
- Constant Field Values
-
DEVICE_PKCS11
public static final int DEVICE_PKCS11
PKCS #11 crypto token- See Also:
- Constant Field Values
-
DEVICE_CRYPTOAPI
public static final int DEVICE_CRYPTOAPI
Microsoft CryptoAPI- See Also:
- Constant Field Values
-
DEVICE_HARDWARE
public static final int DEVICE_HARDWARE
Generic crypo HW plugin- See Also:
- Constant Field Values
-
DEVICE_LAST
public static final int DEVICE_LAST
Last possible crypto device type- See Also:
- Constant Field Values
-
CERTTYPE_NONE
public static final int CERTTYPE_NONE
No certificate type- See Also:
- Constant Field Values
-
CERTTYPE_CERTIFICATE
public static final int CERTTYPE_CERTIFICATE
Certificate- See Also:
- Constant Field Values
-
CERTTYPE_ATTRIBUTE_CERT
public static final int CERTTYPE_ATTRIBUTE_CERT
Attribute certificate- See Also:
- Constant Field Values
-
CERTTYPE_CERTCHAIN
public static final int CERTTYPE_CERTCHAIN
PKCS #7 certificate chain- See Also:
- Constant Field Values
-
CERTTYPE_CERTREQUEST
public static final int CERTTYPE_CERTREQUEST
PKCS #10 certification request- See Also:
- Constant Field Values
-
CERTTYPE_REQUEST_CERT
public static final int CERTTYPE_REQUEST_CERT
CRMF certification request- See Also:
- Constant Field Values
-
CERTTYPE_REQUEST_REVOCATION
public static final int CERTTYPE_REQUEST_REVOCATION
CRMF revocation request- See Also:
- Constant Field Values
-
CERTTYPE_CRL
public static final int CERTTYPE_CRL
Certificate Revocation List- See Also:
- Constant Field Values
-
CERTTYPE_CMS_ATTRIBUTES
public static final int CERTTYPE_CMS_ATTRIBUTES
CMS attributes- See Also:
- Constant Field Values
-
CERTTYPE_RTCS_REQUEST
public static final int CERTTYPE_RTCS_REQUEST
RTCS request- See Also:
- Constant Field Values
-
CERTTYPE_RTCS_RESPONSE
public static final int CERTTYPE_RTCS_RESPONSE
RTCS response- See Also:
- Constant Field Values
-
CERTTYPE_OCSP_REQUEST
public static final int CERTTYPE_OCSP_REQUEST
OCSP request- See Also:
- Constant Field Values
-
CERTTYPE_OCSP_RESPONSE
public static final int CERTTYPE_OCSP_RESPONSE
OCSP response- See Also:
- Constant Field Values
-
CERTTYPE_PKIUSER
public static final int CERTTYPE_PKIUSER
PKI user information- See Also:
- Constant Field Values
-
CERTTYPE_LAST
public static final int CERTTYPE_LAST
Last possible cert.type- See Also:
- Constant Field Values
-
FORMAT_NONE
public static final int FORMAT_NONE
No format type- See Also:
- Constant Field Values
-
FORMAT_AUTO
public static final int FORMAT_AUTO
Deenv, auto-determine type- See Also:
- Constant Field Values
-
FORMAT_CRYPTLIB
public static final int FORMAT_CRYPTLIB
cryptlib native format- See Also:
- Constant Field Values
-
FORMAT_CMS
public static final int FORMAT_CMS
PKCS #7 / CMS / S/MIME fmt.- See Also:
- Constant Field Values
-
FORMAT_PKCS7
public static final int FORMAT_PKCS7
PKCS #7 / CMS / S/MIME fmt.- See Also:
- Constant Field Values
-
FORMAT_SMIME
public static final int FORMAT_SMIME
As CMS with MSG-style behaviour- See Also:
- Constant Field Values
-
FORMAT_PGP
public static final int FORMAT_PGP
PGP format- See Also:
- Constant Field Values
-
FORMAT_LAST
public static final int FORMAT_LAST
Last possible format type- See Also:
- Constant Field Values
-
SESSION_NONE
public static final int SESSION_NONE
No session type- See Also:
- Constant Field Values
-
SESSION_SSH
public static final int SESSION_SSH
SSH- See Also:
- Constant Field Values
-
SESSION_SSH_SERVER
public static final int SESSION_SSH_SERVER
SSH server- See Also:
- Constant Field Values
-
SESSION_TLS
public static final int SESSION_TLS
TLS- See Also:
- Constant Field Values
-
SESSION_SSL
public static final int SESSION_SSL
TLS- See Also:
- Constant Field Values
-
SESSION_TLS_SERVER
public static final int SESSION_TLS_SERVER
TLS server- See Also:
- Constant Field Values
-
SESSION_SSL_SERVER
public static final int SESSION_SSL_SERVER
TLS server- See Also:
- Constant Field Values
-
SESSION_RTCS
public static final int SESSION_RTCS
RTCS- See Also:
- Constant Field Values
-
SESSION_RTCS_SERVER
public static final int SESSION_RTCS_SERVER
RTCS server- See Also:
- Constant Field Values
-
SESSION_SCVP
public static final int SESSION_SCVP
SCVP- See Also:
- Constant Field Values
-
SESSION_SCVP_SERVER
public static final int SESSION_SCVP_SERVER
SCVP server- See Also:
- Constant Field Values
-
SESSION_OCSP
public static final int SESSION_OCSP
OCSP- See Also:
- Constant Field Values
-
SESSION_OCSP_SERVER
public static final int SESSION_OCSP_SERVER
OCSP server- See Also:
- Constant Field Values
-
SESSION_TSP
public static final int SESSION_TSP
TSP- See Also:
- Constant Field Values
-
SESSION_TSP_SERVER
public static final int SESSION_TSP_SERVER
TSP server- See Also:
- Constant Field Values
-
SESSION_CMP
public static final int SESSION_CMP
CMP- See Also:
- Constant Field Values
-
SESSION_CMP_SERVER
public static final int SESSION_CMP_SERVER
CMP server- See Also:
- Constant Field Values
-
SESSION_SCEP
public static final int SESSION_SCEP
SCEP- See Also:
- Constant Field Values
-
SESSION_SCEP_SERVER
public static final int SESSION_SCEP_SERVER
SCEP server- See Also:
- Constant Field Values
-
SESSION_CERTSTORE_SERVER
public static final int SESSION_CERTSTORE_SERVER
HTTP cert store interface- See Also:
- Constant Field Values
-
SESSION_LAST
public static final int SESSION_LAST
Last possible session type- See Also:
- Constant Field Values
-
USER_NONE
public static final int USER_NONE
No user type- See Also:
- Constant Field Values
-
USER_NORMAL
public static final int USER_NORMAL
Normal user- See Also:
- Constant Field Values
-
USER_SO
public static final int USER_SO
Security officer- See Also:
- Constant Field Values
-
USER_CA
public static final int USER_CA
CA user- See Also:
- Constant Field Values
-
USER_LAST
public static final int USER_LAST
Last possible user type- See Also:
- Constant Field Values
-
ATTRIBUTE_NONE
public static final int ATTRIBUTE_NONE
Non-value- See Also:
- Constant Field Values
-
PROPERTY_FIRST
public static final int PROPERTY_FIRST
For internal use- See Also:
- Constant Field Values
-
PROPERTY_HIGHSECURITY
public static final int PROPERTY_HIGHSECURITY
Owned+non-forwardcount+locked- See Also:
- Constant Field Values
-
PROPERTY_OWNER
public static final int PROPERTY_OWNER
Object owner- See Also:
- Constant Field Values
-
PROPERTY_FORWARDCOUNT
public static final int PROPERTY_FORWARDCOUNT
No.of times object can be forwarded- See Also:
- Constant Field Values
-
PROPERTY_LOCKED
public static final int PROPERTY_LOCKED
Whether properties can be chged/read- See Also:
- Constant Field Values
-
PROPERTY_USAGECOUNT
public static final int PROPERTY_USAGECOUNT
Usage count before object expires- See Also:
- Constant Field Values
-
PROPERTY_NONEXPORTABLE
public static final int PROPERTY_NONEXPORTABLE
Whether key is nonexp.from context- See Also:
- Constant Field Values
-
PROPERTY_LAST
public static final int PROPERTY_LAST
-- See Also:
- Constant Field Values
-
GENERIC_FIRST
public static final int GENERIC_FIRST
For internal use- See Also:
- Constant Field Values
-
ATTRIBUTE_ERRORTYPE
public static final int ATTRIBUTE_ERRORTYPE
Type of last error- See Also:
- Constant Field Values
-
ATTRIBUTE_ERRORLOCUS
public static final int ATTRIBUTE_ERRORLOCUS
Locus of last error- See Also:
- Constant Field Values
-
ATTRIBUTE_ERRORMESSAGE
public static final int ATTRIBUTE_ERRORMESSAGE
Detailed error description- See Also:
- Constant Field Values
-
ATTRIBUTE_CURRENT_GROUP
public static final int ATTRIBUTE_CURRENT_GROUP
Cursor mgt: Group in attribute list- See Also:
- Constant Field Values
-
ATTRIBUTE_CURRENT
public static final int ATTRIBUTE_CURRENT
Cursor mgt: Entry in attribute list- See Also:
- Constant Field Values
-
ATTRIBUTE_CURRENT_INSTANCE
public static final int ATTRIBUTE_CURRENT_INSTANCE
Cursor mgt: Instance in attribute list- See Also:
- Constant Field Values
-
ATTRIBUTE_BUFFERSIZE
public static final int ATTRIBUTE_BUFFERSIZE
Internal data buffer size- See Also:
- Constant Field Values
-
GENERIC_LAST
public static final int GENERIC_LAST
-- See Also:
- Constant Field Values
-
OPTION_FIRST
public static final int OPTION_FIRST
For internal use- See Also:
- Constant Field Values
-
OPTION_INFO_DESCRIPTION
public static final int OPTION_INFO_DESCRIPTION
Text description- See Also:
- Constant Field Values
-
OPTION_INFO_COPYRIGHT
public static final int OPTION_INFO_COPYRIGHT
Copyright notice- See Also:
- Constant Field Values
-
OPTION_INFO_MAJORVERSION
public static final int OPTION_INFO_MAJORVERSION
Major release version- See Also:
- Constant Field Values
-
OPTION_INFO_MINORVERSION
public static final int OPTION_INFO_MINORVERSION
Minor release version- See Also:
- Constant Field Values
-
OPTION_INFO_STEPPING
public static final int OPTION_INFO_STEPPING
Release stepping- See Also:
- Constant Field Values
-
OPTION_ENCR_ALGO
public static final int OPTION_ENCR_ALGO
Conventional encryption algorithm- See Also:
- Constant Field Values
-
OPTION_ENCR_HASH
public static final int OPTION_ENCR_HASH
Hash algorithm- See Also:
- Constant Field Values
-
OPTION_ENCR_MAC
public static final int OPTION_ENCR_MAC
MAC algorithm- See Also:
- Constant Field Values
-
OPTION_PKC_ALGO
public static final int OPTION_PKC_ALGO
PKC algorithm- See Also:
- Constant Field Values
-
OPTION_PKC_KEYSIZE
public static final int OPTION_PKC_KEYSIZE
PKC key size- See Also:
- Constant Field Values
-
OPTION_PKC_FORMAT
public static final int OPTION_PKC_FORMAT
PKC format- See Also:
- Constant Field Values
-
OPTION_ENCR_HASHPARAM
public static final int OPTION_ENCR_HASHPARAM
Hash/MAC parameter- See Also:
- Constant Field Values
-
OPTION_KEYING_ALGO
public static final int OPTION_KEYING_ALGO
Key processing algorithm- See Also:
- Constant Field Values
-
OPTION_KEYING_ITERATIONS
public static final int OPTION_KEYING_ITERATIONS
Key processing iterations- See Also:
- Constant Field Values
-
OPTION_CERT_SIGNUNRECOGNISEDATTRIBUTES
public static final int OPTION_CERT_SIGNUNRECOGNISEDATTRIBUTES
Whether to sign unrecog.attrs- See Also:
- Constant Field Values
-
OPTION_CERT_VALIDITY
public static final int OPTION_CERT_VALIDITY
Certificate validity period- See Also:
- Constant Field Values
-
OPTION_CERT_UPDATEINTERVAL
public static final int OPTION_CERT_UPDATEINTERVAL
CRL update interval- See Also:
- Constant Field Values
-
OPTION_CERT_COMPLIANCELEVEL
public static final int OPTION_CERT_COMPLIANCELEVEL
PKIX compliance level for cert chks.- See Also:
- Constant Field Values
-
OPTION_CERT_REQUIREPOLICY
public static final int OPTION_CERT_REQUIREPOLICY
Whether explicit policy req'd for certs- See Also:
- Constant Field Values
-
OPTION_CMS_DEFAULTATTRIBUTES
public static final int OPTION_CMS_DEFAULTATTRIBUTES
Add default CMS attributes- See Also:
- Constant Field Values
-
OPTION_SMIME_DEFAULTATTRIBUTES
public static final int OPTION_SMIME_DEFAULTATTRIBUTES
Add default CMS attributes- See Also:
- Constant Field Values
-
OPTION_KEYS_LDAP_OBJECTCLASS
public static final int OPTION_KEYS_LDAP_OBJECTCLASS
Object class- See Also:
- Constant Field Values
-
OPTION_KEYS_LDAP_OBJECTTYPE
public static final int OPTION_KEYS_LDAP_OBJECTTYPE
Object type to fetch- See Also:
- Constant Field Values
-
OPTION_KEYS_LDAP_FILTER
public static final int OPTION_KEYS_LDAP_FILTER
Query filter- See Also:
- Constant Field Values
-
OPTION_KEYS_LDAP_CACERTNAME
public static final int OPTION_KEYS_LDAP_CACERTNAME
CA certificate attribute name- See Also:
- Constant Field Values
-
OPTION_KEYS_LDAP_CERTNAME
public static final int OPTION_KEYS_LDAP_CERTNAME
Certificate attribute name- See Also:
- Constant Field Values
-
OPTION_KEYS_LDAP_CRLNAME
public static final int OPTION_KEYS_LDAP_CRLNAME
CRL attribute name- See Also:
- Constant Field Values
-
OPTION_KEYS_LDAP_EMAILNAME
public static final int OPTION_KEYS_LDAP_EMAILNAME
Email attribute name- See Also:
- Constant Field Values
-
OPTION_DEVICE_PKCS11_DVR01
public static final int OPTION_DEVICE_PKCS11_DVR01
Name of first PKCS #11 driver- See Also:
- Constant Field Values
-
OPTION_DEVICE_PKCS11_DVR02
public static final int OPTION_DEVICE_PKCS11_DVR02
Name of second PKCS #11 driver- See Also:
- Constant Field Values
-
OPTION_DEVICE_PKCS11_DVR03
public static final int OPTION_DEVICE_PKCS11_DVR03
Name of third PKCS #11 driver- See Also:
- Constant Field Values
-
OPTION_DEVICE_PKCS11_DVR04
public static final int OPTION_DEVICE_PKCS11_DVR04
Name of fourth PKCS #11 driver- See Also:
- Constant Field Values
-
OPTION_DEVICE_PKCS11_DVR05
public static final int OPTION_DEVICE_PKCS11_DVR05
Name of fifth PKCS #11 driver- See Also:
- Constant Field Values
-
OPTION_DEVICE_PKCS11_HARDWAREONLY
public static final int OPTION_DEVICE_PKCS11_HARDWAREONLY
Use only hardware mechanisms- See Also:
- Constant Field Values
-
OPTION_NET_SOCKS_SERVER
public static final int OPTION_NET_SOCKS_SERVER
Socks server name- See Also:
- Constant Field Values
-
OPTION_NET_SOCKS_USERNAME
public static final int OPTION_NET_SOCKS_USERNAME
Socks user name- See Also:
- Constant Field Values
-
OPTION_NET_HTTP_PROXY
public static final int OPTION_NET_HTTP_PROXY
Web proxy server- See Also:
- Constant Field Values
-
OPTION_NET_CONNECTTIMEOUT
public static final int OPTION_NET_CONNECTTIMEOUT
Timeout for network connection setup- See Also:
- Constant Field Values
-
OPTION_NET_READTIMEOUT
public static final int OPTION_NET_READTIMEOUT
Timeout for network reads- See Also:
- Constant Field Values
-
OPTION_NET_WRITETIMEOUT
public static final int OPTION_NET_WRITETIMEOUT
Timeout for network writes- See Also:
- Constant Field Values
-
OPTION_MISC_ASYNCINIT
public static final int OPTION_MISC_ASYNCINIT
Whether to init cryptlib async'ly- See Also:
- Constant Field Values
-
OPTION_MISC_SIDECHANNELPROTECTION
public static final int OPTION_MISC_SIDECHANNELPROTECTION
Protect against side-channel attacks- See Also:
- Constant Field Values
-
OPTION_CONFIGCHANGED
public static final int OPTION_CONFIGCHANGED
Whether in-mem.opts match on-disk ones- See Also:
- Constant Field Values
-
OPTION_SELFTESTOK
public static final int OPTION_SELFTESTOK
Whether self-test was completed and OK- See Also:
- Constant Field Values
-
OPTION_LAST
public static final int OPTION_LAST
-- See Also:
- Constant Field Values
-
CTXINFO_FIRST
public static final int CTXINFO_FIRST
For internal use- See Also:
- Constant Field Values
-
CTXINFO_ALGO
public static final int CTXINFO_ALGO
Algorithm- See Also:
- Constant Field Values
-
CTXINFO_MODE
public static final int CTXINFO_MODE
Mode- See Also:
- Constant Field Values
-
CTXINFO_NAME_ALGO
public static final int CTXINFO_NAME_ALGO
Algorithm name- See Also:
- Constant Field Values
-
CTXINFO_NAME_MODE
public static final int CTXINFO_NAME_MODE
Mode name- See Also:
- Constant Field Values
-
CTXINFO_KEYSIZE
public static final int CTXINFO_KEYSIZE
Key size in bytes- See Also:
- Constant Field Values
-
CTXINFO_BLOCKSIZE
public static final int CTXINFO_BLOCKSIZE
Block size- See Also:
- Constant Field Values
-
CTXINFO_IVSIZE
public static final int CTXINFO_IVSIZE
IV size- See Also:
- Constant Field Values
-
CTXINFO_KEYING_ALGO
public static final int CTXINFO_KEYING_ALGO
Key processing algorithm- See Also:
- Constant Field Values
-
CTXINFO_KEYING_ITERATIONS
public static final int CTXINFO_KEYING_ITERATIONS
Key processing iterations- See Also:
- Constant Field Values
-
CTXINFO_KEYING_SALT
public static final int CTXINFO_KEYING_SALT
Key processing salt- See Also:
- Constant Field Values
-
CTXINFO_KEYING_VALUE
public static final int CTXINFO_KEYING_VALUE
Value used to derive key- See Also:
- Constant Field Values
-
CTXINFO_KEY
public static final int CTXINFO_KEY
Key- See Also:
- Constant Field Values
-
CTXINFO_KEY_COMPONENTS
public static final int CTXINFO_KEY_COMPONENTS
Public-key components- See Also:
- Constant Field Values
-
CTXINFO_IV
public static final int CTXINFO_IV
IV- See Also:
- Constant Field Values
-
CTXINFO_HASHVALUE
public static final int CTXINFO_HASHVALUE
Hash value- See Also:
- Constant Field Values
-
CTXINFO_LABEL
public static final int CTXINFO_LABEL
Label for private/secret key- See Also:
- Constant Field Values
-
CTXINFO_PERSISTENT
public static final int CTXINFO_PERSISTENT
Obj.is backed by device or keyset- See Also:
- Constant Field Values
-
CTXINFO_LAST
public static final int CTXINFO_LAST
-- See Also:
- Constant Field Values
-
CERTINFO_FIRST
public static final int CERTINFO_FIRST
For internal use- See Also:
- Constant Field Values
-
CERTINFO_SELFSIGNED
public static final int CERTINFO_SELFSIGNED
Cert is self-signed- See Also:
- Constant Field Values
-
CERTINFO_IMMUTABLE
public static final int CERTINFO_IMMUTABLE
Cert is signed and immutable- See Also:
- Constant Field Values
-
CERTINFO_XYZZY
public static final int CERTINFO_XYZZY
Cert is a magic just-works cert- See Also:
- Constant Field Values
-
CERTINFO_CERTTYPE
public static final int CERTINFO_CERTTYPE
Certificate object type- See Also:
- Constant Field Values
-
CERTINFO_FINGERPRINT_SHA1
public static final int CERTINFO_FINGERPRINT_SHA1
Certificate fingerprint SHA-1- See Also:
- Constant Field Values
-
CERTINFO_FINGERPRINT_SHA2
public static final int CERTINFO_FINGERPRINT_SHA2
Certificate fingerprint SHA-2- See Also:
- Constant Field Values
-
CERTINFO_FINGERPRINT_SHAng
public static final int CERTINFO_FINGERPRINT_SHAng
Next generation certificate fingerprint SHA- See Also:
- Constant Field Values
-
CERTINFO_CURRENT_CERTIFICATE
public static final int CERTINFO_CURRENT_CERTIFICATE
Cursor management: Relative position in chain/CRL/OCSP- See Also:
- Constant Field Values
-
CERTINFO_TRUSTED_USAGE
public static final int CERTINFO_TRUSTED_USAGE
Usage that cert is trusted for- See Also:
- Constant Field Values
-
CERTINFO_TRUSTED_IMPLICIT
public static final int CERTINFO_TRUSTED_IMPLICIT
Whether cert is implicitly trusted- See Also:
- Constant Field Values
-
CERTINFO_SIGNATURELEVEL
public static final int CERTINFO_SIGNATURELEVEL
Amount of detail to include in sigs.- See Also:
- Constant Field Values
-
CERTINFO_VERSION
public static final int CERTINFO_VERSION
Certificate format version- See Also:
- Constant Field Values
-
CERTINFO_SERIALNUMBER
public static final int CERTINFO_SERIALNUMBER
Certificate serial number- See Also:
- Constant Field Values
-
CERTINFO_SUBJECTPUBLICKEYINFO
public static final int CERTINFO_SUBJECTPUBLICKEYINFO
Public key- See Also:
- Constant Field Values
-
CERTINFO_CERTIFICATE
public static final int CERTINFO_CERTIFICATE
User certificate- See Also:
- Constant Field Values
-
CERTINFO_USERCERTIFICATE
public static final int CERTINFO_USERCERTIFICATE
User certificate- See Also:
- Constant Field Values
-
CERTINFO_CACERTIFICATE
public static final int CERTINFO_CACERTIFICATE
CA certificate- See Also:
- Constant Field Values
-
CERTINFO_ISSUERNAME
public static final int CERTINFO_ISSUERNAME
Issuer DN- See Also:
- Constant Field Values
-
CERTINFO_VALIDFROM
public static final int CERTINFO_VALIDFROM
Certificate valid-from time- See Also:
- Constant Field Values
-
CERTINFO_VALIDTO
public static final int CERTINFO_VALIDTO
Certificate valid-to time- See Also:
- Constant Field Values
-
CERTINFO_SUBJECTNAME
public static final int CERTINFO_SUBJECTNAME
Subject Distinguished Name- See Also:
- Constant Field Values
-
CERTINFO_ISSUERUNIQUEID
public static final int CERTINFO_ISSUERUNIQUEID
Issuer unique ID- See Also:
- Constant Field Values
-
CERTINFO_SUBJECTUNIQUEID
public static final int CERTINFO_SUBJECTUNIQUEID
Subject unique ID- See Also:
- Constant Field Values
-
CERTINFO_CERTREQUEST
public static final int CERTINFO_CERTREQUEST
Certificate Request (DN + public key)- See Also:
- Constant Field Values
-
CERTINFO_THISUPDATE
public static final int CERTINFO_THISUPDATE
CRL/OCSP current-update time- See Also:
- Constant Field Values
-
CERTINFO_NEXTUPDATE
public static final int CERTINFO_NEXTUPDATE
CRL/OCSP next-update time- See Also:
- Constant Field Values
-
CERTINFO_REVOCATIONDATE
public static final int CERTINFO_REVOCATIONDATE
CRL/OCSP certificate revocation time- See Also:
- Constant Field Values
-
CERTINFO_REVOCATIONSTATUS
public static final int CERTINFO_REVOCATIONSTATUS
OCSP revocation status- See Also:
- Constant Field Values
-
CERTINFO_CERTSTATUS
public static final int CERTINFO_CERTSTATUS
RTCS certificate status- See Also:
- Constant Field Values
-
CERTINFO_DN
public static final int CERTINFO_DN
Currently selected Distinguished Nname in string form- See Also:
- Constant Field Values
-
CERTINFO_PKIUSER_ID
public static final int CERTINFO_PKIUSER_ID
PKI user ID- See Also:
- Constant Field Values
-
CERTINFO_PKIUSER_ISSUEPASSWORD
public static final int CERTINFO_PKIUSER_ISSUEPASSWORD
PKI user issue password- See Also:
- Constant Field Values
-
CERTINFO_PKIUSER_REVPASSWORD
public static final int CERTINFO_PKIUSER_REVPASSWORD
PKI user revocation password- See Also:
- Constant Field Values
-
CERTINFO_PKIUSER_RA
public static final int CERTINFO_PKIUSER_RA
PKI user is an Registration Authority- See Also:
- Constant Field Values
-
CERTINFO_COUNTRYNAME
public static final int CERTINFO_COUNTRYNAME
countryName- See Also:
- Constant Field Values
-
CERTINFO_STATEORPROVINCENAME
public static final int CERTINFO_STATEORPROVINCENAME
stateOrProvinceName- See Also:
- Constant Field Values
-
CERTINFO_LOCALITYNAME
public static final int CERTINFO_LOCALITYNAME
localityName- See Also:
- Constant Field Values
-
CERTINFO_ORGANIZATIONNAME
public static final int CERTINFO_ORGANIZATIONNAME
organizationName- See Also:
- Constant Field Values
-
CERTINFO_ORGANISATIONNAME
public static final int CERTINFO_ORGANISATIONNAME
organizationName- See Also:
- Constant Field Values
-
CERTINFO_ORGANIZATIONALUNITNAME
public static final int CERTINFO_ORGANIZATIONALUNITNAME
organizationalUnitName- See Also:
- Constant Field Values
-
CERTINFO_ORGANISATIONALUNITNAME
public static final int CERTINFO_ORGANISATIONALUNITNAME
organizationalUnitName- See Also:
- Constant Field Values
-
CERTINFO_COMMONNAME
public static final int CERTINFO_COMMONNAME
commonName- See Also:
- Constant Field Values
-
CERTINFO_OTHERNAME_TYPEID
public static final int CERTINFO_OTHERNAME_TYPEID
otherName.typeID- See Also:
- Constant Field Values
-
CERTINFO_OTHERNAME_VALUE
public static final int CERTINFO_OTHERNAME_VALUE
otherName.value- See Also:
- Constant Field Values
-
CERTINFO_RFC822NAME
public static final int CERTINFO_RFC822NAME
rfc822Name- See Also:
- Constant Field Values
-
CERTINFO_EMAIL
public static final int CERTINFO_EMAIL
Email address- See Also:
- Constant Field Values
-
CERTINFO_DNSNAME
public static final int CERTINFO_DNSNAME
dNSName- See Also:
- Constant Field Values
-
CERTINFO_DIRECTORYNAME
public static final int CERTINFO_DIRECTORYNAME
directoryName- See Also:
- Constant Field Values
-
CERTINFO_EDIPARTYNAME_NAMEASSIGNER
public static final int CERTINFO_EDIPARTYNAME_NAMEASSIGNER
ediPartyName.nameAssigner- See Also:
- Constant Field Values
-
CERTINFO_EDIPARTYNAME_PARTYNAME
public static final int CERTINFO_EDIPARTYNAME_PARTYNAME
ediPartyName.partyName- See Also:
- Constant Field Values
-
CERTINFO_UNIFORMRESOURCEIDENTIFIER
public static final int CERTINFO_UNIFORMRESOURCEIDENTIFIER
uniformResourceIdentifier- See Also:
- Constant Field Values
-
CERTINFO_URL
public static final int CERTINFO_URL
uniformResourceIdentifier- See Also:
- Constant Field Values
-
CERTINFO_IPADDRESS
public static final int CERTINFO_IPADDRESS
iPAddress- See Also:
- Constant Field Values
-
CERTINFO_REGISTEREDID
public static final int CERTINFO_REGISTEREDID
registeredID- See Also:
- Constant Field Values
-
CERTINFO_CHALLENGEPASSWORD
public static final int CERTINFO_CHALLENGEPASSWORD
challengePassword- See Also:
- Constant Field Values
-
CERTINFO_CRLEXTREASON
public static final int CERTINFO_CRLEXTREASON
CRL Ext Reason- See Also:
- Constant Field Values
-
CERTINFO_KEYFEATURES
public static final int CERTINFO_KEYFEATURES
Key Features- See Also:
- Constant Field Values
-
CERTINFO_AUTHORITYINFOACCESS
public static final int CERTINFO_AUTHORITYINFOACCESS
authorityInfoAccess- See Also:
- Constant Field Values
-
CERTINFO_AUTHORITYINFO_RTCS
public static final int CERTINFO_AUTHORITYINFO_RTCS
accessDescription.accessLocation- See Also:
- Constant Field Values
-
CERTINFO_AUTHORITYINFO_OCSP
public static final int CERTINFO_AUTHORITYINFO_OCSP
accessDescription.accessLocation- See Also:
- Constant Field Values
-
CERTINFO_AUTHORITYINFO_CAISSUERS
public static final int CERTINFO_AUTHORITYINFO_CAISSUERS
accessDescription.accessLocation- See Also:
- Constant Field Values
-
CERTINFO_AUTHORITYINFO_CERTSTORE
public static final int CERTINFO_AUTHORITYINFO_CERTSTORE
accessDescription.accessLocation- See Also:
- Constant Field Values
-
CERTINFO_AUTHORITYINFO_CRLS
public static final int CERTINFO_AUTHORITYINFO_CRLS
accessDescription.accessLocation- See Also:
- Constant Field Values
-
CERTINFO_BIOMETRICINFO
public static final int CERTINFO_BIOMETRICINFO
biometric Information- See Also:
- Constant Field Values
-
CERTINFO_BIOMETRICINFO_TYPE
public static final int CERTINFO_BIOMETRICINFO_TYPE
biometricData.typeOfData- See Also:
- Constant Field Values
-
CERTINFO_BIOMETRICINFO_HASHALGO
public static final int CERTINFO_BIOMETRICINFO_HASHALGO
biometricData.hashAlgorithm- See Also:
- Constant Field Values
-
CERTINFO_BIOMETRICINFO_HASH
public static final int CERTINFO_BIOMETRICINFO_HASH
biometricData.dataHash- See Also:
- Constant Field Values
-
CERTINFO_BIOMETRICINFO_URL
public static final int CERTINFO_BIOMETRICINFO_URL
biometricData.sourceDataUri- See Also:
- Constant Field Values
-
CERTINFO_QCSTATEMENT
public static final int CERTINFO_QCSTATEMENT
qcStatements- See Also:
- Constant Field Values
-
CERTINFO_QCSTATEMENT_SEMANTICS
public static final int CERTINFO_QCSTATEMENT_SEMANTICS
qcStatement.statementInfo.semanticsIdentifier- See Also:
- Constant Field Values
-
CERTINFO_QCSTATEMENT_REGISTRATIONAUTHORITY
public static final int CERTINFO_QCSTATEMENT_REGISTRATIONAUTHORITY
qcStatement.statementInfo.nameRegistrationAuthorities- See Also:
- Constant Field Values
-
CERTINFO_IPADDRESSBLOCKS
public static final int CERTINFO_IPADDRESSBLOCKS
ipAddrBlocks- See Also:
- Constant Field Values
-
CERTINFO_IPADDRESSBLOCKS_ADDRESSFAMILY
public static final int CERTINFO_IPADDRESSBLOCKS_ADDRESSFAMILY
addressFamily- See Also:
- Constant Field Values
-
CERTINFO_IPADDRESSBLOCKS_PREFIX
public static final int CERTINFO_IPADDRESSBLOCKS_PREFIX
ipAddress.addressPrefix- See Also:
- Constant Field Values
-
CERTINFO_IPADDRESSBLOCKS_MIN
public static final int CERTINFO_IPADDRESSBLOCKS_MIN
ipAddress.addressRangeMin- See Also:
- Constant Field Values
-
CERTINFO_IPADDRESSBLOCKS_MAX
public static final int CERTINFO_IPADDRESSBLOCKS_MAX
ipAddress.addressRangeMax- See Also:
- Constant Field Values
-
CERTINFO_AUTONOMOUSSYSIDS
public static final int CERTINFO_AUTONOMOUSSYSIDS
autonomousSysIds- See Also:
- Constant Field Values
-
CERTINFO_AUTONOMOUSSYSIDS_ASNUM_ID
public static final int CERTINFO_AUTONOMOUSSYSIDS_ASNUM_ID
asNum.id- See Also:
- Constant Field Values
-
CERTINFO_AUTONOMOUSSYSIDS_ASNUM_MIN
public static final int CERTINFO_AUTONOMOUSSYSIDS_ASNUM_MIN
asNum.min- See Also:
- Constant Field Values
-
CERTINFO_AUTONOMOUSSYSIDS_ASNUM_MAX
public static final int CERTINFO_AUTONOMOUSSYSIDS_ASNUM_MAX
asNum.max- See Also:
- Constant Field Values
-
CERTINFO_OCSP_NONCE
public static final int CERTINFO_OCSP_NONCE
nonce- See Also:
- Constant Field Values
-
CERTINFO_OCSP_RESPONSE
public static final int CERTINFO_OCSP_RESPONSE
ocspAcceptableResponses- See Also:
- Constant Field Values
-
CERTINFO_OCSP_RESPONSE_OCSP
public static final int CERTINFO_OCSP_RESPONSE_OCSP
OCSP standard response- See Also:
- Constant Field Values
-
CERTINFO_OCSP_NOCHECK
public static final int CERTINFO_OCSP_NOCHECK
OSCP NoCheck- See Also:
- Constant Field Values
-
CERTINFO_OCSP_ARCHIVECUTOFF
public static final int CERTINFO_OCSP_ARCHIVECUTOFF
OSCP ArchiveCutoff- See Also:
- Constant Field Values
-
CERTINFO_SUBJECTINFOACCESS
public static final int CERTINFO_SUBJECTINFOACCESS
subjectInfoAccess- See Also:
- Constant Field Values
-
CERTINFO_SUBJECTINFO_TIMESTAMPING
public static final int CERTINFO_SUBJECTINFO_TIMESTAMPING
accessDescription.accessLocation- See Also:
- Constant Field Values
-
CERTINFO_SUBJECTINFO_CAREPOSITORY
public static final int CERTINFO_SUBJECTINFO_CAREPOSITORY
accessDescription.accessLocation- See Also:
- Constant Field Values
-
CERTINFO_SUBJECTINFO_SIGNEDOBJECTREPOSITORY
public static final int CERTINFO_SUBJECTINFO_SIGNEDOBJECTREPOSITORY
accessDescription.accessLocation- See Also:
- Constant Field Values
-
CERTINFO_SUBJECTINFO_RPKIMANIFEST
public static final int CERTINFO_SUBJECTINFO_RPKIMANIFEST
accessDescription.accessLocation- See Also:
- Constant Field Values
-
CERTINFO_SUBJECTINFO_SIGNEDOBJECT
public static final int CERTINFO_SUBJECTINFO_SIGNEDOBJECT
accessDescription.accessLocation- See Also:
- Constant Field Values
-
CERTINFO_SIGG_DATEOFCERTGEN
public static final int CERTINFO_SIGG_DATEOFCERTGEN
siggDateOfCertGen- See Also:
- Constant Field Values
-
CERTINFO_SIGG_PROCURATION
public static final int CERTINFO_SIGG_PROCURATION
siggProcuration- See Also:
- Constant Field Values
-
CERTINFO_SIGG_PROCURE_COUNTRY
public static final int CERTINFO_SIGG_PROCURE_COUNTRY
country- See Also:
- Constant Field Values
-
CERTINFO_SIGG_PROCURE_TYPEOFSUBSTITUTION
public static final int CERTINFO_SIGG_PROCURE_TYPEOFSUBSTITUTION
typeOfSubstitution- See Also:
- Constant Field Values
-
CERTINFO_SIGG_PROCURE_SIGNINGFOR
public static final int CERTINFO_SIGG_PROCURE_SIGNINGFOR
signingFor.thirdPerson- See Also:
- Constant Field Values
-
CERTINFO_SIGG_ADMISSIONS
public static final int CERTINFO_SIGG_ADMISSIONS
siggAdmissions- See Also:
- Constant Field Values
-
CERTINFO_SIGG_ADMISSIONS_AUTHORITY
public static final int CERTINFO_SIGG_ADMISSIONS_AUTHORITY
authority- See Also:
- Constant Field Values
-
CERTINFO_SIGG_ADMISSIONS_NAMINGAUTHID
public static final int CERTINFO_SIGG_ADMISSIONS_NAMINGAUTHID
namingAuth.iD- See Also:
- Constant Field Values
-
CERTINFO_SIGG_ADMISSIONS_NAMINGAUTHURL
public static final int CERTINFO_SIGG_ADMISSIONS_NAMINGAUTHURL
namingAuth.uRL- See Also:
- Constant Field Values
-
CERTINFO_SIGG_ADMISSIONS_NAMINGAUTHTEXT
public static final int CERTINFO_SIGG_ADMISSIONS_NAMINGAUTHTEXT
namingAuth.text- See Also:
- Constant Field Values
-
CERTINFO_SIGG_ADMISSIONS_PROFESSIONITEM
public static final int CERTINFO_SIGG_ADMISSIONS_PROFESSIONITEM
professionItem- See Also:
- Constant Field Values
-
CERTINFO_SIGG_ADMISSIONS_PROFESSIONOID
public static final int CERTINFO_SIGG_ADMISSIONS_PROFESSIONOID
professionOID- See Also:
- Constant Field Values
-
CERTINFO_SIGG_ADMISSIONS_REGISTRATIONNUMBER
public static final int CERTINFO_SIGG_ADMISSIONS_REGISTRATIONNUMBER
registrationNumber- See Also:
- Constant Field Values
-
CERTINFO_SIGG_MONETARYLIMIT
public static final int CERTINFO_SIGG_MONETARYLIMIT
siggMonetaryLimit- See Also:
- Constant Field Values
-
CERTINFO_SIGG_MONETARY_CURRENCY
public static final int CERTINFO_SIGG_MONETARY_CURRENCY
currency- See Also:
- Constant Field Values
-
CERTINFO_SIGG_MONETARY_AMOUNT
public static final int CERTINFO_SIGG_MONETARY_AMOUNT
amount- See Also:
- Constant Field Values
-
CERTINFO_SIGG_MONETARY_EXPONENT
public static final int CERTINFO_SIGG_MONETARY_EXPONENT
exponent- See Also:
- Constant Field Values
-
CERTINFO_SIGG_DECLARATIONOFMAJORITY
public static final int CERTINFO_SIGG_DECLARATIONOFMAJORITY
siggDeclarationOfMajority- See Also:
- Constant Field Values
-
CERTINFO_SIGG_DECLARATIONOFMAJORITY_COUNTRY
public static final int CERTINFO_SIGG_DECLARATIONOFMAJORITY_COUNTRY
fullAgeAtCountry- See Also:
- Constant Field Values
-
CERTINFO_SIGG_RESTRICTION
public static final int CERTINFO_SIGG_RESTRICTION
siggRestriction- See Also:
- Constant Field Values
-
CERTINFO_SIGG_CERTHASH
public static final int CERTINFO_SIGG_CERTHASH
siggCertHash- See Also:
- Constant Field Values
-
CERTINFO_SIGG_ADDITIONALINFORMATION
public static final int CERTINFO_SIGG_ADDITIONALINFORMATION
siggAdditionalInformation- See Also:
- Constant Field Values
-
CERTINFO_STRONGEXTRANET
public static final int CERTINFO_STRONGEXTRANET
strongExtranet- See Also:
- Constant Field Values
-
CERTINFO_STRONGEXTRANET_ZONE
public static final int CERTINFO_STRONGEXTRANET_ZONE
sxNetIDList.sxNetID.zone- See Also:
- Constant Field Values
-
CERTINFO_STRONGEXTRANET_ID
public static final int CERTINFO_STRONGEXTRANET_ID
sxNetIDList.sxNetID.id- See Also:
- Constant Field Values
-
CERTINFO_SUBJECTDIRECTORYATTRIBUTES
public static final int CERTINFO_SUBJECTDIRECTORYATTRIBUTES
subjectDirectoryAttributes- See Also:
- Constant Field Values
-
CERTINFO_SUBJECTKEYIDENTIFIER
public static final int CERTINFO_SUBJECTKEYIDENTIFIER
subjectKeyIdentifier- See Also:
- Constant Field Values
-
CERTINFO_KEYUSAGE
public static final int CERTINFO_KEYUSAGE
keyUsage- See Also:
- Constant Field Values
-
CERTINFO_PRIVATEKEYUSAGEPERIOD
public static final int CERTINFO_PRIVATEKEYUSAGEPERIOD
privateKeyUsagePeriod- See Also:
- Constant Field Values
-
CERTINFO_PRIVATEKEY_NOTBEFORE
public static final int CERTINFO_PRIVATEKEY_NOTBEFORE
notBefore- See Also:
- Constant Field Values
-
CERTINFO_PRIVATEKEY_NOTAFTER
public static final int CERTINFO_PRIVATEKEY_NOTAFTER
notAfter- See Also:
- Constant Field Values
-
CERTINFO_SUBJECTALTNAME
public static final int CERTINFO_SUBJECTALTNAME
subjectAltName- See Also:
- Constant Field Values
-
CERTINFO_ISSUERALTNAME
public static final int CERTINFO_ISSUERALTNAME
issuerAltName- See Also:
- Constant Field Values
-
CERTINFO_BASICCONSTRAINTS
public static final int CERTINFO_BASICCONSTRAINTS
basicConstraints- See Also:
- Constant Field Values
-
CERTINFO_CA
public static final int CERTINFO_CA
cA- See Also:
- Constant Field Values
-
CERTINFO_AUTHORITY
public static final int CERTINFO_AUTHORITY
cA- See Also:
- Constant Field Values
-
CERTINFO_PATHLENCONSTRAINT
public static final int CERTINFO_PATHLENCONSTRAINT
pathLenConstraint- See Also:
- Constant Field Values
-
CERTINFO_CRLNUMBER
public static final int CERTINFO_CRLNUMBER
cRLNumber- See Also:
- Constant Field Values
-
CERTINFO_CRLREASON
public static final int CERTINFO_CRLREASON
cRLReason- See Also:
- Constant Field Values
-
CERTINFO_HOLDINSTRUCTIONCODE
public static final int CERTINFO_HOLDINSTRUCTIONCODE
holdInstructionCode- See Also:
- Constant Field Values
-
CERTINFO_INVALIDITYDATE
public static final int CERTINFO_INVALIDITYDATE
invalidityDate- See Also:
- Constant Field Values
-
CERTINFO_DELTACRLINDICATOR
public static final int CERTINFO_DELTACRLINDICATOR
deltaCRLIndicator- See Also:
- Constant Field Values
-
CERTINFO_ISSUINGDISTRIBUTIONPOINT
public static final int CERTINFO_ISSUINGDISTRIBUTIONPOINT
issuingDistributionPoint- See Also:
- Constant Field Values
-
CERTINFO_ISSUINGDIST_FULLNAME
public static final int CERTINFO_ISSUINGDIST_FULLNAME
distributionPointName.fullName- See Also:
- Constant Field Values
-
CERTINFO_ISSUINGDIST_USERCERTSONLY
public static final int CERTINFO_ISSUINGDIST_USERCERTSONLY
onlyContainsUserCerts- See Also:
- Constant Field Values
-
CERTINFO_ISSUINGDIST_CACERTSONLY
public static final int CERTINFO_ISSUINGDIST_CACERTSONLY
onlyContainsCACerts- See Also:
- Constant Field Values
-
CERTINFO_ISSUINGDIST_SOMEREASONSONLY
public static final int CERTINFO_ISSUINGDIST_SOMEREASONSONLY
onlySomeReasons- See Also:
- Constant Field Values
-
CERTINFO_ISSUINGDIST_INDIRECTCRL
public static final int CERTINFO_ISSUINGDIST_INDIRECTCRL
indirectCRL- See Also:
- Constant Field Values
-
CERTINFO_CERTIFICATEISSUER
public static final int CERTINFO_CERTIFICATEISSUER
certificateIssuer- See Also:
- Constant Field Values
-
CERTINFO_NAMECONSTRAINTS
public static final int CERTINFO_NAMECONSTRAINTS
nameConstraints- See Also:
- Constant Field Values
-
CERTINFO_PERMITTEDSUBTREES
public static final int CERTINFO_PERMITTEDSUBTREES
permittedSubtrees- See Also:
- Constant Field Values
-
CERTINFO_EXCLUDEDSUBTREES
public static final int CERTINFO_EXCLUDEDSUBTREES
excludedSubtrees- See Also:
- Constant Field Values
-
CERTINFO_CRLDISTRIBUTIONPOINT
public static final int CERTINFO_CRLDISTRIBUTIONPOINT
cRLDistributionPoint- See Also:
- Constant Field Values
-
CERTINFO_CRLDIST_FULLNAME
public static final int CERTINFO_CRLDIST_FULLNAME
distributionPointName.fullName- See Also:
- Constant Field Values
-
CERTINFO_CRLDIST_REASONS
public static final int CERTINFO_CRLDIST_REASONS
reasons- See Also:
- Constant Field Values
-
CERTINFO_CRLDIST_CRLISSUER
public static final int CERTINFO_CRLDIST_CRLISSUER
cRLIssuer- See Also:
- Constant Field Values
-
CERTINFO_CERTIFICATEPOLICIES
public static final int CERTINFO_CERTIFICATEPOLICIES
certificatePolicies- See Also:
- Constant Field Values
-
CERTINFO_CERTPOLICYID
public static final int CERTINFO_CERTPOLICYID
policyInformation.policyIdentifier- See Also:
- Constant Field Values
-
CERTINFO_CERTPOLICY_CPSURI
public static final int CERTINFO_CERTPOLICY_CPSURI
policyInformation.policyQualifiers.qualifier.cPSuri- See Also:
- Constant Field Values
-
CERTINFO_CERTPOLICY_ORGANIZATION
public static final int CERTINFO_CERTPOLICY_ORGANIZATION
policyInformation.policyQualifiers.qualifier.userNotice.noticeRef.organization- See Also:
- Constant Field Values
-
CERTINFO_CERTPOLICY_NOTICENUMBERS
public static final int CERTINFO_CERTPOLICY_NOTICENUMBERS
policyInformation.policyQualifiers.qualifier.userNotice.noticeRef.noticeNumbers- See Also:
- Constant Field Values
-
CERTINFO_CERTPOLICY_EXPLICITTEXT
public static final int CERTINFO_CERTPOLICY_EXPLICITTEXT
policyInformation.policyQualifiers.qualifier.userNotice.explicitText- See Also:
- Constant Field Values
-
CERTINFO_POLICYMAPPINGS
public static final int CERTINFO_POLICYMAPPINGS
policyMappings- See Also:
- Constant Field Values
-
CERTINFO_ISSUERDOMAINPOLICY
public static final int CERTINFO_ISSUERDOMAINPOLICY
policyMappings.issuerDomainPolicy- See Also:
- Constant Field Values
-
CERTINFO_SUBJECTDOMAINPOLICY
public static final int CERTINFO_SUBJECTDOMAINPOLICY
policyMappings.subjectDomainPolicy- See Also:
- Constant Field Values
-
CERTINFO_AUTHORITYKEYIDENTIFIER
public static final int CERTINFO_AUTHORITYKEYIDENTIFIER
authorityKeyIdentifier- See Also:
- Constant Field Values
-
CERTINFO_AUTHORITY_KEYIDENTIFIER
public static final int CERTINFO_AUTHORITY_KEYIDENTIFIER
keyIdentifier- See Also:
- Constant Field Values
-
CERTINFO_AUTHORITY_CERTISSUER
public static final int CERTINFO_AUTHORITY_CERTISSUER
authorityCertIssuer- See Also:
- Constant Field Values
-
CERTINFO_AUTHORITY_CERTSERIALNUMBER
public static final int CERTINFO_AUTHORITY_CERTSERIALNUMBER
authorityCertSerialNumber- See Also:
- Constant Field Values
-
CERTINFO_POLICYCONSTRAINTS
public static final int CERTINFO_POLICYCONSTRAINTS
policyConstraints- See Also:
- Constant Field Values
-
CERTINFO_REQUIREEXPLICITPOLICY
public static final int CERTINFO_REQUIREEXPLICITPOLICY
policyConstraints.requireExplicitPolicy- See Also:
- Constant Field Values
-
CERTINFO_INHIBITPOLICYMAPPING
public static final int CERTINFO_INHIBITPOLICYMAPPING
policyConstraints.inhibitPolicyMapping- See Also:
- Constant Field Values
-
CERTINFO_EXTKEYUSAGE
public static final int CERTINFO_EXTKEYUSAGE
extKeyUsage- See Also:
- Constant Field Values
-
CERTINFO_EXTKEY_MS_INDIVIDUALCODESIGNING
public static final int CERTINFO_EXTKEY_MS_INDIVIDUALCODESIGNING
individualCodeSigning- See Also:
- Constant Field Values
-
CERTINFO_EXTKEY_MS_COMMERCIALCODESIGNING
public static final int CERTINFO_EXTKEY_MS_COMMERCIALCODESIGNING
commercialCodeSigning- See Also:
- Constant Field Values
-
CERTINFO_EXTKEY_MS_CERTTRUSTLISTSIGNING
public static final int CERTINFO_EXTKEY_MS_CERTTRUSTLISTSIGNING
certTrustListSigning- See Also:
- Constant Field Values
-
CERTINFO_EXTKEY_MS_TIMESTAMPSIGNING
public static final int CERTINFO_EXTKEY_MS_TIMESTAMPSIGNING
timeStampSigning- See Also:
- Constant Field Values
-
CERTINFO_EXTKEY_MS_SERVERGATEDCRYPTO
public static final int CERTINFO_EXTKEY_MS_SERVERGATEDCRYPTO
serverGatedCrypto- See Also:
- Constant Field Values
-
CERTINFO_EXTKEY_MS_ENCRYPTEDFILESYSTEM
public static final int CERTINFO_EXTKEY_MS_ENCRYPTEDFILESYSTEM
encrypedFileSystem- See Also:
- Constant Field Values
-
CERTINFO_EXTKEY_SERVERAUTH
public static final int CERTINFO_EXTKEY_SERVERAUTH
serverAuth- See Also:
- Constant Field Values
-
CERTINFO_EXTKEY_CLIENTAUTH
public static final int CERTINFO_EXTKEY_CLIENTAUTH
clientAuth- See Also:
- Constant Field Values
-
CERTINFO_EXTKEY_CODESIGNING
public static final int CERTINFO_EXTKEY_CODESIGNING
codeSigning- See Also:
- Constant Field Values
-
CERTINFO_EXTKEY_EMAILPROTECTION
public static final int CERTINFO_EXTKEY_EMAILPROTECTION
emailProtection- See Also:
- Constant Field Values
-
CERTINFO_EXTKEY_IPSECENDSYSTEM
public static final int CERTINFO_EXTKEY_IPSECENDSYSTEM
ipsecEndSystem- See Also:
- Constant Field Values
-
CERTINFO_EXTKEY_IPSECTUNNEL
public static final int CERTINFO_EXTKEY_IPSECTUNNEL
ipsecTunnel- See Also:
- Constant Field Values
-
CERTINFO_EXTKEY_IPSECUSER
public static final int CERTINFO_EXTKEY_IPSECUSER
ipsecUser- See Also:
- Constant Field Values
-
CERTINFO_EXTKEY_TIMESTAMPING
public static final int CERTINFO_EXTKEY_TIMESTAMPING
timeStamping- See Also:
- Constant Field Values
-
CERTINFO_EXTKEY_OCSPSIGNING
public static final int CERTINFO_EXTKEY_OCSPSIGNING
ocspSigning- See Also:
- Constant Field Values
-
CERTINFO_EXTKEY_DIRECTORYSERVICE
public static final int CERTINFO_EXTKEY_DIRECTORYSERVICE
directoryService- See Also:
- Constant Field Values
-
CERTINFO_EXTKEY_ANYKEYUSAGE
public static final int CERTINFO_EXTKEY_ANYKEYUSAGE
anyExtendedKeyUsage- See Also:
- Constant Field Values
-
CERTINFO_EXTKEY_NS_SERVERGATEDCRYPTO
public static final int CERTINFO_EXTKEY_NS_SERVERGATEDCRYPTO
serverGatedCrypto- See Also:
- Constant Field Values
-
CERTINFO_EXTKEY_VS_SERVERGATEDCRYPTO_CA
public static final int CERTINFO_EXTKEY_VS_SERVERGATEDCRYPTO_CA
serverGatedCrypto CA- See Also:
- Constant Field Values
-
CERTINFO_EXTKEYUSAGE_LAST
public static final int CERTINFO_EXTKEYUSAGE_LAST
serverGatedCrypto CA- See Also:
- Constant Field Values
-
CERTINFO_CRLSTREAMIDENTIFIER
public static final int CERTINFO_CRLSTREAMIDENTIFIER
crlStreamIdentifier- See Also:
- Constant Field Values
-
CERTINFO_FRESHESTCRL
public static final int CERTINFO_FRESHESTCRL
freshestCRL- See Also:
- Constant Field Values
-
CERTINFO_FRESHESTCRL_FULLNAME
public static final int CERTINFO_FRESHESTCRL_FULLNAME
distributionPointName.fullName- See Also:
- Constant Field Values
-
CERTINFO_FRESHESTCRL_REASONS
public static final int CERTINFO_FRESHESTCRL_REASONS
reasons- See Also:
- Constant Field Values
-
CERTINFO_FRESHESTCRL_CRLISSUER
public static final int CERTINFO_FRESHESTCRL_CRLISSUER
cRLIssuer- See Also:
- Constant Field Values
-
CERTINFO_ORDEREDLIST
public static final int CERTINFO_ORDEREDLIST
orderedList- See Also:
- Constant Field Values
-
CERTINFO_BASEUPDATETIME
public static final int CERTINFO_BASEUPDATETIME
baseUpdateTime- See Also:
- Constant Field Values
-
CERTINFO_DELTAINFO
public static final int CERTINFO_DELTAINFO
deltaInfo- See Also:
- Constant Field Values
-
CERTINFO_DELTAINFO_LOCATION
public static final int CERTINFO_DELTAINFO_LOCATION
deltaLocation- See Also:
- Constant Field Values
-
CERTINFO_DELTAINFO_NEXTDELTA
public static final int CERTINFO_DELTAINFO_NEXTDELTA
nextDelta- See Also:
- Constant Field Values
-
CERTINFO_INHIBITANYPOLICY
public static final int CERTINFO_INHIBITANYPOLICY
inhibitAnyPolicy- See Also:
- Constant Field Values
-
CERTINFO_TOBEREVOKED
public static final int CERTINFO_TOBEREVOKED
toBeRevoked- See Also:
- Constant Field Values
-
CERTINFO_TOBEREVOKED_CERTISSUER
public static final int CERTINFO_TOBEREVOKED_CERTISSUER
certificateIssuer- See Also:
- Constant Field Values
-
CERTINFO_TOBEREVOKED_REASONCODE
public static final int CERTINFO_TOBEREVOKED_REASONCODE
reasonCode- See Also:
- Constant Field Values
-
CERTINFO_TOBEREVOKED_REVOCATIONTIME
public static final int CERTINFO_TOBEREVOKED_REVOCATIONTIME
revocationTime- See Also:
- Constant Field Values
-
CERTINFO_TOBEREVOKED_CERTSERIALNUMBER
public static final int CERTINFO_TOBEREVOKED_CERTSERIALNUMBER
certSerialNumber- See Also:
- Constant Field Values
-
CERTINFO_REVOKEDGROUPS
public static final int CERTINFO_REVOKEDGROUPS
revokedGroups- See Also:
- Constant Field Values
-
CERTINFO_REVOKEDGROUPS_CERTISSUER
public static final int CERTINFO_REVOKEDGROUPS_CERTISSUER
certificateIssuer- See Also:
- Constant Field Values
-
CERTINFO_REVOKEDGROUPS_REASONCODE
public static final int CERTINFO_REVOKEDGROUPS_REASONCODE
reasonCode- See Also:
- Constant Field Values
-
CERTINFO_REVOKEDGROUPS_INVALIDITYDATE
public static final int CERTINFO_REVOKEDGROUPS_INVALIDITYDATE
invalidityDate- See Also:
- Constant Field Values
-
CERTINFO_REVOKEDGROUPS_STARTINGNUMBER
public static final int CERTINFO_REVOKEDGROUPS_STARTINGNUMBER
startingNumber- See Also:
- Constant Field Values
-
CERTINFO_REVOKEDGROUPS_ENDINGNUMBER
public static final int CERTINFO_REVOKEDGROUPS_ENDINGNUMBER
endingNumber- See Also:
- Constant Field Values
-
CERTINFO_EXPIREDCERTSONCRL
public static final int CERTINFO_EXPIREDCERTSONCRL
expiredCertsOnCRL- See Also:
- Constant Field Values
-
CERTINFO_AAISSUINGDISTRIBUTIONPOINT
public static final int CERTINFO_AAISSUINGDISTRIBUTIONPOINT
aaIssuingDistributionPoint- See Also:
- Constant Field Values
-
CERTINFO_AAISSUINGDIST_FULLNAME
public static final int CERTINFO_AAISSUINGDIST_FULLNAME
distributionPointName.fullName- See Also:
- Constant Field Values
-
CERTINFO_AAISSUINGDIST_SOMEREASONSONLY
public static final int CERTINFO_AAISSUINGDIST_SOMEREASONSONLY
onlySomeReasons- See Also:
- Constant Field Values
-
CERTINFO_AAISSUINGDIST_INDIRECTCRL
public static final int CERTINFO_AAISSUINGDIST_INDIRECTCRL
indirectCRL- See Also:
- Constant Field Values
-
CERTINFO_AAISSUINGDIST_USERATTRCERTS
public static final int CERTINFO_AAISSUINGDIST_USERATTRCERTS
containsUserAttributeCerts- See Also:
- Constant Field Values
-
CERTINFO_AAISSUINGDIST_AACERTS
public static final int CERTINFO_AAISSUINGDIST_AACERTS
containsAACerts- See Also:
- Constant Field Values
-
CERTINFO_AAISSUINGDIST_SOACERTS
public static final int CERTINFO_AAISSUINGDIST_SOACERTS
containsSOAPublicKeyCerts- See Also:
- Constant Field Values
-
CERTINFO_NS_CERTTYPE
public static final int CERTINFO_NS_CERTTYPE
netscape-cert-type- See Also:
- Constant Field Values
-
CERTINFO_NS_BASEURL
public static final int CERTINFO_NS_BASEURL
netscape-base-url- See Also:
- Constant Field Values
-
CERTINFO_NS_REVOCATIONURL
public static final int CERTINFO_NS_REVOCATIONURL
netscape-revocation-url- See Also:
- Constant Field Values
-
CERTINFO_NS_CAREVOCATIONURL
public static final int CERTINFO_NS_CAREVOCATIONURL
netscape-ca-revocation-url- See Also:
- Constant Field Values
-
CERTINFO_NS_CERTRENEWALURL
public static final int CERTINFO_NS_CERTRENEWALURL
netscape-cert-renewal-url- See Also:
- Constant Field Values
-
CERTINFO_NS_CAPOLICYURL
public static final int CERTINFO_NS_CAPOLICYURL
netscape-ca-policy-url- See Also:
- Constant Field Values
-
CERTINFO_NS_SSLSERVERNAME
public static final int CERTINFO_NS_SSLSERVERNAME
netscape-ssl-server-name- See Also:
- Constant Field Values
-
CERTINFO_NS_COMMENT
public static final int CERTINFO_NS_COMMENT
netscape-comment- See Also:
- Constant Field Values
-
CERTINFO_SET_HASHEDROOTKEY
public static final int CERTINFO_SET_HASHEDROOTKEY
SET hashedRootKey- See Also:
- Constant Field Values
-
CERTINFO_SET_ROOTKEYTHUMBPRINT
public static final int CERTINFO_SET_ROOTKEYTHUMBPRINT
SET rootKeyThumbPrint- See Also:
- Constant Field Values
-
CERTINFO_SET_CERTIFICATETYPE
public static final int CERTINFO_SET_CERTIFICATETYPE
SET certificateType- See Also:
- Constant Field Values
-
CERTINFO_SET_MERCHANTDATA
public static final int CERTINFO_SET_MERCHANTDATA
SET merchantData- See Also:
- Constant Field Values
-
CERTINFO_SET_MERID
public static final int CERTINFO_SET_MERID
merID- See Also:
- Constant Field Values
-
CERTINFO_SET_MERACQUIRERBIN
public static final int CERTINFO_SET_MERACQUIRERBIN
merAcquirerBIN- See Also:
- Constant Field Values
-
CERTINFO_SET_MERCHANTLANGUAGE
public static final int CERTINFO_SET_MERCHANTLANGUAGE
merNames.language- See Also:
- Constant Field Values
-
CERTINFO_SET_MERCHANTNAME
public static final int CERTINFO_SET_MERCHANTNAME
merNames.name- See Also:
- Constant Field Values
-
CERTINFO_SET_MERCHANTCITY
public static final int CERTINFO_SET_MERCHANTCITY
merNames.city- See Also:
- Constant Field Values
-
CERTINFO_SET_MERCHANTSTATEPROVINCE
public static final int CERTINFO_SET_MERCHANTSTATEPROVINCE
merNames.stateProvince- See Also:
- Constant Field Values
-
CERTINFO_SET_MERCHANTPOSTALCODE
public static final int CERTINFO_SET_MERCHANTPOSTALCODE
merNames.postalCode- See Also:
- Constant Field Values
-
CERTINFO_SET_MERCHANTCOUNTRYNAME
public static final int CERTINFO_SET_MERCHANTCOUNTRYNAME
merNames.countryName- See Also:
- Constant Field Values
-
CERTINFO_SET_MERCOUNTRY
public static final int CERTINFO_SET_MERCOUNTRY
merCountry- See Also:
- Constant Field Values
-
CERTINFO_SET_MERAUTHFLAG
public static final int CERTINFO_SET_MERAUTHFLAG
merAuthFlag- See Also:
- Constant Field Values
-
CERTINFO_SET_CERTCARDREQUIRED
public static final int CERTINFO_SET_CERTCARDREQUIRED
SET certCardRequired- See Also:
- Constant Field Values
-
CERTINFO_SET_TUNNELING
public static final int CERTINFO_SET_TUNNELING
SET tunneling- See Also:
- Constant Field Values
-
CERTINFO_SET_TUNNELLING
public static final int CERTINFO_SET_TUNNELLING
Set tunneling- See Also:
- Constant Field Values
-
CERTINFO_SET_TUNNELINGFLAG
public static final int CERTINFO_SET_TUNNELINGFLAG
tunneling flag- See Also:
- Constant Field Values
-
CERTINFO_SET_TUNNELLINGFLAG
public static final int CERTINFO_SET_TUNNELLINGFLAG
tunneling flag- See Also:
- Constant Field Values
-
CERTINFO_SET_TUNNELINGALGID
public static final int CERTINFO_SET_TUNNELINGALGID
tunnelingAlgID- See Also:
- Constant Field Values
-
CERTINFO_SET_TUNNELLINGALGID
public static final int CERTINFO_SET_TUNNELLINGALGID
S/MIME attributes- See Also:
- Constant Field Values
-
CERTINFO_CMS_CONTENTTYPE
public static final int CERTINFO_CMS_CONTENTTYPE
S/MIME contentType- See Also:
- Constant Field Values
-
CERTINFO_CMS_MESSAGEDIGEST
public static final int CERTINFO_CMS_MESSAGEDIGEST
messageDigest- See Also:
- Constant Field Values
-
CERTINFO_CMS_SIGNINGTIME
public static final int CERTINFO_CMS_SIGNINGTIME
signingTime- See Also:
- Constant Field Values
-
CERTINFO_CMS_COUNTERSIGNATURE
public static final int CERTINFO_CMS_COUNTERSIGNATURE
counterSignature- See Also:
- Constant Field Values
-
CERTINFO_CMS_SIGNINGDESCRIPTION
public static final int CERTINFO_CMS_SIGNINGDESCRIPTION
signingDescription- See Also:
- Constant Field Values
-
CERTINFO_CMS_SMIMECAPABILITIES
public static final int CERTINFO_CMS_SMIMECAPABILITIES
sMIMECapabilities- See Also:
- Constant Field Values
-
CERTINFO_CMS_SMIMECAP_3DES
public static final int CERTINFO_CMS_SMIMECAP_3DES
3DES encryption- See Also:
- Constant Field Values
-
CERTINFO_CMS_SMIMECAP_AES
public static final int CERTINFO_CMS_SMIMECAP_AES
AES encryption- See Also:
- Constant Field Values
-
CERTINFO_CMS_SMIMECAP_CAST128
public static final int CERTINFO_CMS_SMIMECAP_CAST128
CAST-128 encryption- See Also:
- Constant Field Values
-
CERTINFO_CMS_SMIMECAP_SHAng
public static final int CERTINFO_CMS_SMIMECAP_SHAng
SHA2-ng hash- See Also:
- Constant Field Values
-
CERTINFO_CMS_SMIMECAP_SHA2
public static final int CERTINFO_CMS_SMIMECAP_SHA2
SHA2-256 hash- See Also:
- Constant Field Values
-
CERTINFO_CMS_SMIMECAP_SHA1
public static final int CERTINFO_CMS_SMIMECAP_SHA1
SHA1 hash- See Also:
- Constant Field Values
-
CERTINFO_CMS_SMIMECAP_HMAC_SHAng
public static final int CERTINFO_CMS_SMIMECAP_HMAC_SHAng
HMAC-SHA2-ng MAC- See Also:
- Constant Field Values
-
CERTINFO_CMS_SMIMECAP_HMAC_SHA2
public static final int CERTINFO_CMS_SMIMECAP_HMAC_SHA2
HMAC-SHA2-256 MAC- See Also:
- Constant Field Values
-
CERTINFO_CMS_SMIMECAP_HMAC_SHA1
public static final int CERTINFO_CMS_SMIMECAP_HMAC_SHA1
HMAC-SHA1 MAC- See Also:
- Constant Field Values
-
CERTINFO_CMS_SMIMECAP_AUTHENC256
public static final int CERTINFO_CMS_SMIMECAP_AUTHENC256
AuthEnc w.256-bit key- See Also:
- Constant Field Values
-
CERTINFO_CMS_SMIMECAP_AUTHENC128
public static final int CERTINFO_CMS_SMIMECAP_AUTHENC128
AuthEnc w.128-bit key- See Also:
- Constant Field Values
-
CERTINFO_CMS_SMIMECAP_RSA_SHAng
public static final int CERTINFO_CMS_SMIMECAP_RSA_SHAng
RSA with SHA-ng signing- See Also:
- Constant Field Values
-
CERTINFO_CMS_SMIMECAP_RSA_SHA2
public static final int CERTINFO_CMS_SMIMECAP_RSA_SHA2
RSA with SHA2-256 signing- See Also:
- Constant Field Values
-
CERTINFO_CMS_SMIMECAP_RSA_SHA1
public static final int CERTINFO_CMS_SMIMECAP_RSA_SHA1
RSA with SHA1 signing- See Also:
- Constant Field Values
-
CERTINFO_CMS_SMIMECAP_DSA_SHA1
public static final int CERTINFO_CMS_SMIMECAP_DSA_SHA1
DSA with SHA-1 signing- See Also:
- Constant Field Values
-
CERTINFO_CMS_SMIMECAP_ECDSA_SHAng
public static final int CERTINFO_CMS_SMIMECAP_ECDSA_SHAng
ECDSA with SHA-ng signing- See Also:
- Constant Field Values
-
CERTINFO_CMS_SMIMECAP_ECDSA_SHA2
public static final int CERTINFO_CMS_SMIMECAP_ECDSA_SHA2
ECDSA with SHA2-256 signing- See Also:
- Constant Field Values
-
CERTINFO_CMS_SMIMECAP_ECDSA_SHA1
public static final int CERTINFO_CMS_SMIMECAP_ECDSA_SHA1
ECDSA with SHA-1 signing- See Also:
- Constant Field Values
-
CERTINFO_CMS_SMIMECAP_PREFERSIGNEDDATA
public static final int CERTINFO_CMS_SMIMECAP_PREFERSIGNEDDATA
preferSignedData- See Also:
- Constant Field Values
-
CERTINFO_CMS_SMIMECAP_CANNOTDECRYPTANY
public static final int CERTINFO_CMS_SMIMECAP_CANNOTDECRYPTANY
canNotDecryptAny- See Also:
- Constant Field Values
-
CERTINFO_CMS_SMIMECAP_PREFERBINARYINSIDE
public static final int CERTINFO_CMS_SMIMECAP_PREFERBINARYINSIDE
preferBinaryInside- See Also:
- Constant Field Values
-
CERTINFO_CMS_RECEIPTREQUEST
public static final int CERTINFO_CMS_RECEIPTREQUEST
receiptRequest- See Also:
- Constant Field Values
-
CERTINFO_CMS_RECEIPT_CONTENTIDENTIFIER
public static final int CERTINFO_CMS_RECEIPT_CONTENTIDENTIFIER
contentIdentifier- See Also:
- Constant Field Values
-
CERTINFO_CMS_RECEIPT_FROM
public static final int CERTINFO_CMS_RECEIPT_FROM
receiptsFrom- See Also:
- Constant Field Values
-
CERTINFO_CMS_RECEIPT_TO
public static final int CERTINFO_CMS_RECEIPT_TO
receiptsTo- See Also:
- Constant Field Values
-
CERTINFO_CMS_SECURITYLABEL
public static final int CERTINFO_CMS_SECURITYLABEL
CMS SecurityLabel- See Also:
- Constant Field Values
-
CERTINFO_CMS_SECLABEL_POLICY
public static final int CERTINFO_CMS_SECLABEL_POLICY
securityPolicyIdentifier- See Also:
- Constant Field Values
-
CERTINFO_CMS_SECLABEL_CLASSIFICATION
public static final int CERTINFO_CMS_SECLABEL_CLASSIFICATION
securityClassification- See Also:
- Constant Field Values
-
CERTINFO_CMS_SECLABEL_PRIVACYMARK
public static final int CERTINFO_CMS_SECLABEL_PRIVACYMARK
privacyMark- See Also:
- Constant Field Values
-
CERTINFO_CMS_SECLABEL_CATTYPE
public static final int CERTINFO_CMS_SECLABEL_CATTYPE
securityCategories.securityCategory.type- See Also:
- Constant Field Values
-
CERTINFO_CMS_SECLABEL_CATVALUE
public static final int CERTINFO_CMS_SECLABEL_CATVALUE
securityCategories.securityCategory.value- See Also:
- Constant Field Values
-
CERTINFO_CMS_MLEXPANSIONHISTORY
public static final int CERTINFO_CMS_MLEXPANSIONHISTORY
mlExpansionHistory- See Also:
- Constant Field Values
-
CERTINFO_CMS_MLEXP_ENTITYIDENTIFIER
public static final int CERTINFO_CMS_MLEXP_ENTITYIDENTIFIER
mlData.mailListIdentifier.issuerAndSerialNumber- See Also:
- Constant Field Values
-
CERTINFO_CMS_MLEXP_TIME
public static final int CERTINFO_CMS_MLEXP_TIME
mlData.expansionTime- See Also:
- Constant Field Values
-
CERTINFO_CMS_MLEXP_NONE
public static final int CERTINFO_CMS_MLEXP_NONE
mlData.mlReceiptPolicy.none- See Also:
- Constant Field Values
-
CERTINFO_CMS_MLEXP_INSTEADOF
public static final int CERTINFO_CMS_MLEXP_INSTEADOF
mlData.mlReceiptPolicy.insteadOf.generalNames.generalName- See Also:
- Constant Field Values
-
CERTINFO_CMS_MLEXP_INADDITIONTO
public static final int CERTINFO_CMS_MLEXP_INADDITIONTO
mlData.mlReceiptPolicy.inAdditionTo.generalNames.generalName- See Also:
- Constant Field Values
-
CERTINFO_CMS_CONTENTHINTS
public static final int CERTINFO_CMS_CONTENTHINTS
contentHints- See Also:
- Constant Field Values
-
CERTINFO_CMS_CONTENTHINT_DESCRIPTION
public static final int CERTINFO_CMS_CONTENTHINT_DESCRIPTION
contentDescription- See Also:
- Constant Field Values
-
CERTINFO_CMS_CONTENTHINT_TYPE
public static final int CERTINFO_CMS_CONTENTHINT_TYPE
contentType- See Also:
- Constant Field Values
-
CERTINFO_CMS_EQUIVALENTLABEL
public static final int CERTINFO_CMS_EQUIVALENTLABEL
equivalentLabels- See Also:
- Constant Field Values
-
CERTINFO_CMS_EQVLABEL_POLICY
public static final int CERTINFO_CMS_EQVLABEL_POLICY
securityPolicyIdentifier- See Also:
- Constant Field Values
-
CERTINFO_CMS_EQVLABEL_CLASSIFICATION
public static final int CERTINFO_CMS_EQVLABEL_CLASSIFICATION
securityClassification- See Also:
- Constant Field Values
-
CERTINFO_CMS_EQVLABEL_PRIVACYMARK
public static final int CERTINFO_CMS_EQVLABEL_PRIVACYMARK
privacyMark- See Also:
- Constant Field Values
-
CERTINFO_CMS_EQVLABEL_CATTYPE
public static final int CERTINFO_CMS_EQVLABEL_CATTYPE
securityCategories.securityCategory.type- See Also:
- Constant Field Values
-
CERTINFO_CMS_EQVLABEL_CATVALUE
public static final int CERTINFO_CMS_EQVLABEL_CATVALUE
securityCategories.securityCategory.value- See Also:
- Constant Field Values
-
CERTINFO_CMS_SIGNINGCERTIFICATE
public static final int CERTINFO_CMS_SIGNINGCERTIFICATE
signingCertificate- See Also:
- Constant Field Values
-
CERTINFO_CMS_SIGNINGCERT_ESSCERTID
public static final int CERTINFO_CMS_SIGNINGCERT_ESSCERTID
certs.essCertID- See Also:
- Constant Field Values
-
CERTINFO_CMS_SIGNINGCERT_POLICIES
public static final int CERTINFO_CMS_SIGNINGCERT_POLICIES
policies.policyInformation.policyIdentifier- See Also:
- Constant Field Values
-
CERTINFO_CMS_SIGNINGCERTIFICATEV2
public static final int CERTINFO_CMS_SIGNINGCERTIFICATEV2
signingCertificateV2- See Also:
- Constant Field Values
-
CERTINFO_CMS_SIGNINGCERTV2_ESSCERTIDV2
public static final int CERTINFO_CMS_SIGNINGCERTV2_ESSCERTIDV2
certs.essCertID- See Also:
- Constant Field Values
-
CERTINFO_CMS_SIGNINGCERTV2_POLICIES
public static final int CERTINFO_CMS_SIGNINGCERTV2_POLICIES
policies.policyInformation.policyIdentifier- See Also:
- Constant Field Values
-
CERTINFO_CMS_SIGNATUREPOLICYID
public static final int CERTINFO_CMS_SIGNATUREPOLICYID
signaturePolicyID- See Also:
- Constant Field Values
-
CERTINFO_CMS_SIGPOLICYID
public static final int CERTINFO_CMS_SIGPOLICYID
sigPolicyID- See Also:
- Constant Field Values
-
CERTINFO_CMS_SIGPOLICYHASH
public static final int CERTINFO_CMS_SIGPOLICYHASH
sigPolicyHash- See Also:
- Constant Field Values
-
CERTINFO_CMS_SIGPOLICY_CPSURI
public static final int CERTINFO_CMS_SIGPOLICY_CPSURI
sigPolicyQualifiers.sigPolicyQualifier.cPSuri- See Also:
- Constant Field Values
-
CERTINFO_CMS_SIGPOLICY_ORGANIZATION
public static final int CERTINFO_CMS_SIGPOLICY_ORGANIZATION
sigPolicyQualifiers.sigPolicyQualifier.userNotice.noticeRef.organization- See Also:
- Constant Field Values
-
CERTINFO_CMS_SIGPOLICY_NOTICENUMBERS
public static final int CERTINFO_CMS_SIGPOLICY_NOTICENUMBERS
sigPolicyQualifiers.sigPolicyQualifier.userNotice.noticeRef.noticeNumbers- See Also:
- Constant Field Values
-
CERTINFO_CMS_SIGPOLICY_EXPLICITTEXT
public static final int CERTINFO_CMS_SIGPOLICY_EXPLICITTEXT
sigPolicyQualifiers.sigPolicyQualifier.userNotice.explicitText- See Also:
- Constant Field Values
-
CERTINFO_CMS_SIGTYPEIDENTIFIER
public static final int CERTINFO_CMS_SIGTYPEIDENTIFIER
signatureTypeIdentifier- See Also:
- Constant Field Values
-
CERTINFO_CMS_SIGTYPEID_ORIGINATORSIG
public static final int CERTINFO_CMS_SIGTYPEID_ORIGINATORSIG
originatorSig- See Also:
- Constant Field Values
-
CERTINFO_CMS_SIGTYPEID_DOMAINSIG
public static final int CERTINFO_CMS_SIGTYPEID_DOMAINSIG
domainSig- See Also:
- Constant Field Values
-
CERTINFO_CMS_SIGTYPEID_ADDITIONALATTRIBUTES
public static final int CERTINFO_CMS_SIGTYPEID_ADDITIONALATTRIBUTES
additionalAttributesSig- See Also:
- Constant Field Values
-
CERTINFO_CMS_SIGTYPEID_REVIEWSIG
public static final int CERTINFO_CMS_SIGTYPEID_REVIEWSIG
reviewSig- See Also:
- Constant Field Values
-
CERTINFO_CMS_NONCE
public static final int CERTINFO_CMS_NONCE
randomNonce- See Also:
- Constant Field Values
-
CERTINFO_CMS_ALGORITHMPROTECTION
public static final int CERTINFO_CMS_ALGORITHMPROTECTION
CMS AlgorithmProtection- See Also:
- Constant Field Values
-
CERTINFO_CMS_ALGORITHMPROTECTION_HASH
public static final int CERTINFO_CMS_ALGORITHMPROTECTION_HASH
Signer hash algorithm- See Also:
- Constant Field Values
-
CERTINFO_CMS_ALGORITHMPROTECTION_SIG
public static final int CERTINFO_CMS_ALGORITHMPROTECTION_SIG
Signer sig.algorithm- See Also:
- Constant Field Values
-
CERTINFO_CMS_ALGORITHMPROTECTION_MAC
public static final int CERTINFO_CMS_ALGORITHMPROTECTION_MAC
Signer MAC algorithm- See Also:
- Constant Field Values
-
CERTINFO_SCEP_MESSAGETYPE
public static final int CERTINFO_SCEP_MESSAGETYPE
messageType- See Also:
- Constant Field Values
-
CERTINFO_SCEP_PKISTATUS
public static final int CERTINFO_SCEP_PKISTATUS
pkiStatus- See Also:
- Constant Field Values
-
CERTINFO_SCEP_FAILINFO
public static final int CERTINFO_SCEP_FAILINFO
failInfo- See Also:
- Constant Field Values
-
CERTINFO_SCEP_SENDERNONCE
public static final int CERTINFO_SCEP_SENDERNONCE
senderNonce- See Also:
- Constant Field Values
-
CERTINFO_SCEP_RECIPIENTNONCE
public static final int CERTINFO_SCEP_RECIPIENTNONCE
recipientNonce- See Also:
- Constant Field Values
-
CERTINFO_SCEP_TRANSACTIONID
public static final int CERTINFO_SCEP_TRANSACTIONID
transID- See Also:
- Constant Field Values
-
CERTINFO_CMS_SPCAGENCYINFO
public static final int CERTINFO_CMS_SPCAGENCYINFO
spcAgencyInfo- See Also:
- Constant Field Values
-
CERTINFO_CMS_SPCAGENCYURL
public static final int CERTINFO_CMS_SPCAGENCYURL
spcAgencyInfo.url- See Also:
- Constant Field Values
-
CERTINFO_CMS_SPCSTATEMENTTYPE
public static final int CERTINFO_CMS_SPCSTATEMENTTYPE
spcStatementType- See Also:
- Constant Field Values
-
CERTINFO_CMS_SPCSTMT_INDIVIDUALCODESIGNING
public static final int CERTINFO_CMS_SPCSTMT_INDIVIDUALCODESIGNING
individualCodeSigning- See Also:
- Constant Field Values
-
CERTINFO_CMS_SPCSTMT_COMMERCIALCODESIGNING
public static final int CERTINFO_CMS_SPCSTMT_COMMERCIALCODESIGNING
commercialCodeSigning- See Also:
- Constant Field Values
-
CERTINFO_CMS_SPCOPUSINFO
public static final int CERTINFO_CMS_SPCOPUSINFO
spcOpusInfo- See Also:
- Constant Field Values
-
CERTINFO_CMS_SPCOPUSINFO_NAME
public static final int CERTINFO_CMS_SPCOPUSINFO_NAME
spcOpusInfo.name- See Also:
- Constant Field Values
-
CERTINFO_CMS_SPCOPUSINFO_URL
public static final int CERTINFO_CMS_SPCOPUSINFO_URL
spcOpusInfo.url- See Also:
- Constant Field Values
-
CERTINFO_LAST
public static final int CERTINFO_LAST
-- See Also:
- Constant Field Values
-
KEYINFO_FIRST
public static final int KEYINFO_FIRST
For internal use- See Also:
- Constant Field Values
-
KEYINFO_QUERY
public static final int KEYINFO_QUERY
Keyset query- See Also:
- Constant Field Values
-
KEYINFO_QUERY_REQUESTS
public static final int KEYINFO_QUERY_REQUESTS
Query of requests in cert store- See Also:
- Constant Field Values
-
KEYINFO_LAST
public static final int KEYINFO_LAST
-- See Also:
- Constant Field Values
-
DEVINFO_FIRST
public static final int DEVINFO_FIRST
For internal use- See Also:
- Constant Field Values
-
DEVINFO_INITIALISE
public static final int DEVINFO_INITIALISE
Initialise device for use- See Also:
- Constant Field Values
-
DEVINFO_INITIALIZE
public static final int DEVINFO_INITIALIZE
Initialise device for use- See Also:
- Constant Field Values
-
DEVINFO_AUTHENT_USER
public static final int DEVINFO_AUTHENT_USER
Authenticate user to device- See Also:
- Constant Field Values
-
DEVINFO_AUTHENT_SUPERVISOR
public static final int DEVINFO_AUTHENT_SUPERVISOR
Authenticate supervisor to dev.- See Also:
- Constant Field Values
-
DEVINFO_SET_AUTHENT_USER
public static final int DEVINFO_SET_AUTHENT_USER
Set user authent.value- See Also:
- Constant Field Values
-
DEVINFO_SET_AUTHENT_SUPERVISOR
public static final int DEVINFO_SET_AUTHENT_SUPERVISOR
Set supervisor auth.val.- See Also:
- Constant Field Values
-
DEVINFO_ZEROISE
public static final int DEVINFO_ZEROISE
Zeroise device- See Also:
- Constant Field Values
-
DEVINFO_ZEROIZE
public static final int DEVINFO_ZEROIZE
Zeroise device- See Also:
- Constant Field Values
-
DEVINFO_LOGGEDIN
public static final int DEVINFO_LOGGEDIN
Whether user is logged in- See Also:
- Constant Field Values
-
DEVINFO_LABEL
public static final int DEVINFO_LABEL
Device/token label- See Also:
- Constant Field Values
-
DEVINFO_LAST
public static final int DEVINFO_LAST
-- See Also:
- Constant Field Values
-
ENVINFO_FIRST
public static final int ENVINFO_FIRST
For internal use- See Also:
- Constant Field Values
-
ENVINFO_DATASIZE
public static final int ENVINFO_DATASIZE
Data size information- See Also:
- Constant Field Values
-
ENVINFO_COMPRESSION
public static final int ENVINFO_COMPRESSION
Compression information- See Also:
- Constant Field Values
-
ENVINFO_CONTENTTYPE
public static final int ENVINFO_CONTENTTYPE
Inner CMS content type- See Also:
- Constant Field Values
-
ENVINFO_DETACHEDSIGNATURE
public static final int ENVINFO_DETACHEDSIGNATURE
Detached signature- See Also:
- Constant Field Values
-
ENVINFO_SIGNATURE_RESULT
public static final int ENVINFO_SIGNATURE_RESULT
Signature check result- See Also:
- Constant Field Values
-
ENVINFO_INTEGRITY
public static final int ENVINFO_INTEGRITY
Integrity-protection level- See Also:
- Constant Field Values
-
ENVINFO_PASSWORD
public static final int ENVINFO_PASSWORD
User password- See Also:
- Constant Field Values
-
ENVINFO_KEY
public static final int ENVINFO_KEY
Conventional encryption key- See Also:
- Constant Field Values
-
ENVINFO_SIGNATURE
public static final int ENVINFO_SIGNATURE
Signature/signature check key- See Also:
- Constant Field Values
-
ENVINFO_SIGNATURE_EXTRADATA
public static final int ENVINFO_SIGNATURE_EXTRADATA
Extra information added to CMS sigs- See Also:
- Constant Field Values
-
ENVINFO_RECIPIENT
public static final int ENVINFO_RECIPIENT
Recipient email address- See Also:
- Constant Field Values
-
ENVINFO_PUBLICKEY
public static final int ENVINFO_PUBLICKEY
PKC encryption key- See Also:
- Constant Field Values
-
ENVINFO_PRIVATEKEY
public static final int ENVINFO_PRIVATEKEY
PKC decryption key- See Also:
- Constant Field Values
-
ENVINFO_PRIVATEKEY_LABEL
public static final int ENVINFO_PRIVATEKEY_LABEL
Label of PKC decryption key- See Also:
- Constant Field Values
-
ENVINFO_ORIGINATOR
public static final int ENVINFO_ORIGINATOR
Originator info/key- See Also:
- Constant Field Values
-
ENVINFO_SESSIONKEY
public static final int ENVINFO_SESSIONKEY
Session key- See Also:
- Constant Field Values
-
ENVINFO_HASH
public static final int ENVINFO_HASH
Hash value- See Also:
- Constant Field Values
-
ENVINFO_TIMESTAMP
public static final int ENVINFO_TIMESTAMP
Timestamp information- See Also:
- Constant Field Values
-
ENVINFO_KEYSET_SIGCHECK
public static final int ENVINFO_KEYSET_SIGCHECK
Signature check keyset- See Also:
- Constant Field Values
-
ENVINFO_KEYSET_ENCRYPT
public static final int ENVINFO_KEYSET_ENCRYPT
PKC encryption keyset- See Also:
- Constant Field Values
-
ENVINFO_KEYSET_DECRYPT
public static final int ENVINFO_KEYSET_DECRYPT
PKC decryption keyset- See Also:
- Constant Field Values
-
ENVINFO_LAST
public static final int ENVINFO_LAST
-- See Also:
- Constant Field Values
-
SESSINFO_FIRST
public static final int SESSINFO_FIRST
For internal use- See Also:
- Constant Field Values
-
SESSINFO_ACTIVE
public static final int SESSINFO_ACTIVE
Whether session is active- See Also:
- Constant Field Values
-
SESSINFO_CONNECTIONACTIVE
public static final int SESSINFO_CONNECTIONACTIVE
Whether network connection is active- See Also:
- Constant Field Values
-
SESSINFO_USERNAME
public static final int SESSINFO_USERNAME
User name- See Also:
- Constant Field Values
-
SESSINFO_PASSWORD
public static final int SESSINFO_PASSWORD
Password- See Also:
- Constant Field Values
-
SESSINFO_AUTHTOKEN
public static final int SESSINFO_AUTHTOKEN
Authentication token, e.g. TOTP- See Also:
- Constant Field Values
-
SESSINFO_PRIVATEKEY
public static final int SESSINFO_PRIVATEKEY
Server/client private key- See Also:
- Constant Field Values
-
SESSINFO_KEYSET
public static final int SESSINFO_KEYSET
Certificate store- See Also:
- Constant Field Values
-
SESSINFO_AUTHRESPONSE
public static final int SESSINFO_AUTHRESPONSE
Session authorisation OK- See Also:
- Constant Field Values
-
SESSINFO_SERVER_NAME
public static final int SESSINFO_SERVER_NAME
Server name- See Also:
- Constant Field Values
-
SESSINFO_SERVER_PORT
public static final int SESSINFO_SERVER_PORT
Server port number- See Also:
- Constant Field Values
-
SESSINFO_SERVER_FINGERPRINT_SHA2
public static final int SESSINFO_SERVER_FINGERPRINT_SHA2
Server key fingerprint- See Also:
- Constant Field Values
-
SESSINFO_CLIENT_NAME
public static final int SESSINFO_CLIENT_NAME
Client name- See Also:
- Constant Field Values
-
SESSINFO_CLIENT_PORT
public static final int SESSINFO_CLIENT_PORT
Client port number- See Also:
- Constant Field Values
-
SESSINFO_SESSION
public static final int SESSINFO_SESSION
Transport mechanism- See Also:
- Constant Field Values
-
SESSINFO_NETWORKSOCKET
public static final int SESSINFO_NETWORKSOCKET
User-supplied network socket- See Also:
- Constant Field Values
-
SESSINFO_VERSION
public static final int SESSINFO_VERSION
Protocol version- See Also:
- Constant Field Values
-
SESSINFO_REQUEST
public static final int SESSINFO_REQUEST
Cert.request object- See Also:
- Constant Field Values
-
SESSINFO_RESPONSE
public static final int SESSINFO_RESPONSE
Cert.response object- See Also:
- Constant Field Values
-
SESSINFO_CACERTIFICATE
public static final int SESSINFO_CACERTIFICATE
Issuing CA certificate- See Also:
- Constant Field Values
-
SESSINFO_CMP_REQUESTTYPE
public static final int SESSINFO_CMP_REQUESTTYPE
Request type- See Also:
- Constant Field Values
-
SESSINFO_CMP_PRIVKEYSET
public static final int SESSINFO_CMP_PRIVKEYSET
Private-key keyset- See Also:
- Constant Field Values
-
SESSINFO_CMP_OPTIONS
public static final int SESSINFO_CMP_OPTIONS
CMP protocol options- See Also:
- Constant Field Values
-
SESSINFO_SSH_CHANNEL
public static final int SESSINFO_SSH_CHANNEL
SSH current channel- See Also:
- Constant Field Values
-
SESSINFO_SSH_CHANNEL_TYPE
public static final int SESSINFO_SSH_CHANNEL_TYPE
SSH channel type- See Also:
- Constant Field Values
-
SESSINFO_SSH_CHANNEL_ARG1
public static final int SESSINFO_SSH_CHANNEL_ARG1
SSH channel argument 1- See Also:
- Constant Field Values
-
SESSINFO_SSH_CHANNEL_ARG2
public static final int SESSINFO_SSH_CHANNEL_ARG2
SSH channel argument 2- See Also:
- Constant Field Values
-
SESSINFO_SSH_CHANNEL_ACTIVE
public static final int SESSINFO_SSH_CHANNEL_ACTIVE
SSH channel active- See Also:
- Constant Field Values
-
SESSINFO_SSH_PREAUTH
public static final int SESSINFO_SSH_PREAUTH
SSH pre-authentication value- See Also:
- Constant Field Values
-
SESSINFO_TLS_OPTIONS
public static final int SESSINFO_TLS_OPTIONS
SSL/TLS protocol options- See Also:
- Constant Field Values
-
SESSINFO_SSL_OPTIONS
public static final int SESSINFO_SSL_OPTIONS
SSL/TLS protocol options- See Also:
- Constant Field Values
-
SESSINFO_TLS_SUBPROTOCOL
public static final int SESSINFO_TLS_SUBPROTOCOL
SSL/TLS additional sub-protocol- See Also:
- Constant Field Values
-
SESSINFO_TLS_WSPROTOCOL
public static final int SESSINFO_TLS_WSPROTOCOL
SSL/TLS WebSockets sub-protocol- See Also:
- Constant Field Values
-
SESSINFO_TLS_EAPCHALLENGE
public static final int SESSINFO_TLS_EAPCHALLENGE
TLS EAP challenge- See Also:
- Constant Field Values
-
SESSINFO_TLS_EAPKEY
public static final int SESSINFO_TLS_EAPKEY
TLS EAP key- See Also:
- Constant Field Values
-
SESSINFO_TLS_EAPDATA
public static final int SESSINFO_TLS_EAPDATA
TLS EAP additional data- See Also:
- Constant Field Values
-
SESSINFO_TSP_MSGIMPRINT
public static final int SESSINFO_TSP_MSGIMPRINT
TSP message imprint- See Also:
- Constant Field Values
-
SESSINFO_LAST
public static final int SESSINFO_LAST
-- See Also:
- Constant Field Values
-
USERINFO_FIRST
public static final int USERINFO_FIRST
For internal use- See Also:
- Constant Field Values
-
USERINFO_PASSWORD
public static final int USERINFO_PASSWORD
Password- See Also:
- Constant Field Values
-
USERINFO_CAKEY_CERTSIGN
public static final int USERINFO_CAKEY_CERTSIGN
CA cert signing key- See Also:
- Constant Field Values
-
USERINFO_CAKEY_CRLSIGN
public static final int USERINFO_CAKEY_CRLSIGN
CA CRL signing key- See Also:
- Constant Field Values
-
USERINFO_CAKEY_RTCSSIGN
public static final int USERINFO_CAKEY_RTCSSIGN
CA RTCS signing key- See Also:
- Constant Field Values
-
USERINFO_CAKEY_OCSPSIGN
public static final int USERINFO_CAKEY_OCSPSIGN
CA OCSP signing key- See Also:
- Constant Field Values
-
USERINFO_LAST
public static final int USERINFO_LAST
-- See Also:
- Constant Field Values
-
ATTRIBUTE_LAST
public static final int ATTRIBUTE_LAST
For internal use- See Also:
- Constant Field Values
-
KEYUSAGE_NONE
public static final int KEYUSAGE_NONE
None- See Also:
- Constant Field Values
-
KEYUSAGE_DIGITALSIGNATURE
public static final int KEYUSAGE_DIGITALSIGNATURE
Digital signature- See Also:
- Constant Field Values
-
KEYUSAGE_NONREPUDIATION
public static final int KEYUSAGE_NONREPUDIATION
Non repudiation- See Also:
- Constant Field Values
-
KEYUSAGE_KEYENCIPHERMENT
public static final int KEYUSAGE_KEYENCIPHERMENT
Key encipherment- See Also:
- Constant Field Values
-
KEYUSAGE_DATAENCIPHERMENT
public static final int KEYUSAGE_DATAENCIPHERMENT
Data encipherment- See Also:
- Constant Field Values
-
KEYUSAGE_KEYAGREEMENT
public static final int KEYUSAGE_KEYAGREEMENT
Key agreement- See Also:
- Constant Field Values
-
KEYUSAGE_KEYCERTSIGN
public static final int KEYUSAGE_KEYCERTSIGN
Key certificate signing- See Also:
- Constant Field Values
-
KEYUSAGE_CRLSIGN
public static final int KEYUSAGE_CRLSIGN
CRL signing- See Also:
- Constant Field Values
-
KEYUSAGE_ENCIPHERONLY
public static final int KEYUSAGE_ENCIPHERONLY
Encipher only- See Also:
- Constant Field Values
-
KEYUSAGE_DECIPHERONLY
public static final int KEYUSAGE_DECIPHERONLY
Decipher only- See Also:
- Constant Field Values
-
KEYUSAGE_LAST
public static final int KEYUSAGE_LAST
Last possible value- See Also:
- Constant Field Values
-
CRLREASON_UNSPECIFIED
public static final int CRLREASON_UNSPECIFIED
- See Also:
- Constant Field Values
-
CRLREASON_KEYCOMPROMISE
public static final int CRLREASON_KEYCOMPROMISE
- See Also:
- Constant Field Values
-
CRLREASON_CACOMPROMISE
public static final int CRLREASON_CACOMPROMISE
- See Also:
- Constant Field Values
-
CRLREASON_AFFILIATIONCHANGED
public static final int CRLREASON_AFFILIATIONCHANGED
- See Also:
- Constant Field Values
-
CRLREASON_SUPERSEDED
public static final int CRLREASON_SUPERSEDED
- See Also:
- Constant Field Values
-
CRLREASON_CESSATIONOFOPERATION
public static final int CRLREASON_CESSATIONOFOPERATION
- See Also:
- Constant Field Values
-
CRLREASON_CERTIFICATEHOLD
public static final int CRLREASON_CERTIFICATEHOLD
- See Also:
- Constant Field Values
-
CRLREASON_REMOVEFROMCRL
public static final int CRLREASON_REMOVEFROMCRL
- See Also:
- Constant Field Values
-
CRLREASON_PRIVILEGEWITHDRAWN
public static final int CRLREASON_PRIVILEGEWITHDRAWN
- See Also:
- Constant Field Values
-
CRLREASON_AACOMPROMISE
public static final int CRLREASON_AACOMPROMISE
- See Also:
- Constant Field Values
-
CRLREASON_LAST
public static final int CRLREASON_LAST
End of standard CRL reasons- See Also:
- Constant Field Values
-
CRLREASON_NEVERVALID
public static final int CRLREASON_NEVERVALID
- See Also:
- Constant Field Values
-
CRLEXTREASON_LAST
public static final int CRLEXTREASON_LAST
- See Also:
- Constant Field Values
-
CRLREASONFLAG_UNUSED
public static final int CRLREASONFLAG_UNUSED
CRL reason: unused- See Also:
- Constant Field Values
-
CRLREASONFLAG_KEYCOMPROMISE
public static final int CRLREASONFLAG_KEYCOMPROMISE
CRL reason: Key compromise- See Also:
- Constant Field Values
-
CRLREASONFLAG_CACOMPROMISE
public static final int CRLREASONFLAG_CACOMPROMISE
CRL reason: CA compromise- See Also:
- Constant Field Values
-
CRLREASONFLAG_AFFILIATIONCHANGED
public static final int CRLREASONFLAG_AFFILIATIONCHANGED
CRL reason: Affiliation changed- See Also:
- Constant Field Values
-
CRLREASONFLAG_SUPERSEDED
public static final int CRLREASONFLAG_SUPERSEDED
CRL reason: Superseded- See Also:
- Constant Field Values
-
CRLREASONFLAG_CESSATIONOFOPERATION
public static final int CRLREASONFLAG_CESSATIONOFOPERATION
CRL reason: Cessation of operation- See Also:
- Constant Field Values
-
CRLREASONFLAG_CERTIFICATEHOLD
public static final int CRLREASONFLAG_CERTIFICATEHOLD
CRL reason: Certificate hold- See Also:
- Constant Field Values
-
CRLREASONFLAG_LAST
public static final int CRLREASONFLAG_LAST
Last poss.value- See Also:
- Constant Field Values
-
HOLDINSTRUCTION_NONE
public static final int HOLDINSTRUCTION_NONE
- See Also:
- Constant Field Values
-
HOLDINSTRUCTION_CALLISSUER
public static final int HOLDINSTRUCTION_CALLISSUER
- See Also:
- Constant Field Values
-
HOLDINSTRUCTION_REJECT
public static final int HOLDINSTRUCTION_REJECT
- See Also:
- Constant Field Values
-
HOLDINSTRUCTION_PICKUPTOKEN
public static final int HOLDINSTRUCTION_PICKUPTOKEN
- See Also:
- Constant Field Values
-
HOLDINSTRUCTION_LAST
public static final int HOLDINSTRUCTION_LAST
- See Also:
- Constant Field Values
-
COMPLIANCELEVEL_OBLIVIOUS
public static final int COMPLIANCELEVEL_OBLIVIOUS
-- See Also:
- Constant Field Values
-
COMPLIANCELEVEL_REDUCED
public static final int COMPLIANCELEVEL_REDUCED
-- See Also:
- Constant Field Values
-
COMPLIANCELEVEL_STANDARD
public static final int COMPLIANCELEVEL_STANDARD
-- See Also:
- Constant Field Values
-
COMPLIANCELEVEL_PKIX_PARTIAL
public static final int COMPLIANCELEVEL_PKIX_PARTIAL
-- See Also:
- Constant Field Values
-
COMPLIANCELEVEL_PKIX_FULL
public static final int COMPLIANCELEVEL_PKIX_FULL
-- See Also:
- Constant Field Values
-
COMPLIANCELEVEL_LAST
public static final int COMPLIANCELEVEL_LAST
-- See Also:
- Constant Field Values
-
NS_CERTTYPE_SSLCLIENT
public static final int NS_CERTTYPE_SSLCLIENT
SSL Client- See Also:
- Constant Field Values
-
NS_CERTTYPE_SSLSERVER
public static final int NS_CERTTYPE_SSLSERVER
SSL Server- See Also:
- Constant Field Values
-
NS_CERTTYPE_SMIME
public static final int NS_CERTTYPE_SMIME
S/MIME- See Also:
- Constant Field Values
-
NS_CERTTYPE_OBJECTSIGNING
public static final int NS_CERTTYPE_OBJECTSIGNING
Object signing- See Also:
- Constant Field Values
-
NS_CERTTYPE_RESERVED
public static final int NS_CERTTYPE_RESERVED
Reserved- See Also:
- Constant Field Values
-
NS_CERTTYPE_SSLCA
public static final int NS_CERTTYPE_SSLCA
SSL Certification Authority- See Also:
- Constant Field Values
-
NS_CERTTYPE_SMIMECA
public static final int NS_CERTTYPE_SMIMECA
S/MIME Certification Authority- See Also:
- Constant Field Values
-
NS_CERTTYPE_OBJECTSIGNINGCA
public static final int NS_CERTTYPE_OBJECTSIGNINGCA
Object signing Certification Authority- See Also:
- Constant Field Values
-
NS_CERTTYPE_LAST
public static final int NS_CERTTYPE_LAST
Last possible value- See Also:
- Constant Field Values
-
SET_CERTTYPE_CARD
public static final int SET_CERTTYPE_CARD
-- See Also:
- Constant Field Values
-
SET_CERTTYPE_MER
public static final int SET_CERTTYPE_MER
-- See Also:
- Constant Field Values
-
SET_CERTTYPE_PGWY
public static final int SET_CERTTYPE_PGWY
-- See Also:
- Constant Field Values
-
SET_CERTTYPE_CCA
public static final int SET_CERTTYPE_CCA
-- See Also:
- Constant Field Values
-
SET_CERTTYPE_MCA
public static final int SET_CERTTYPE_MCA
-- See Also:
- Constant Field Values
-
SET_CERTTYPE_PCA
public static final int SET_CERTTYPE_PCA
-- See Also:
- Constant Field Values
-
SET_CERTTYPE_GCA
public static final int SET_CERTTYPE_GCA
-- See Also:
- Constant Field Values
-
SET_CERTTYPE_BCA
public static final int SET_CERTTYPE_BCA
-- See Also:
- Constant Field Values
-
SET_CERTTYPE_RCA
public static final int SET_CERTTYPE_RCA
-- See Also:
- Constant Field Values
-
SET_CERTTYPE_ACQ
public static final int SET_CERTTYPE_ACQ
-- See Also:
- Constant Field Values
-
SET_CERTTYPE_LAST
public static final int SET_CERTTYPE_LAST
Last possible value- See Also:
- Constant Field Values
-
CONTENT_NONE
public static final int CONTENT_NONE
-- See Also:
- Constant Field Values
-
CONTENT_DATA
public static final int CONTENT_DATA
-- See Also:
- Constant Field Values
-
CONTENT_SIGNEDDATA
public static final int CONTENT_SIGNEDDATA
-- See Also:
- Constant Field Values
-
CONTENT_ENVELOPEDDATA
public static final int CONTENT_ENVELOPEDDATA
-- See Also:
- Constant Field Values
-
CONTENT_SIGNEDANDENVELOPEDDATA
public static final int CONTENT_SIGNEDANDENVELOPEDDATA
-- See Also:
- Constant Field Values
-
CONTENT_DIGESTEDDATA
public static final int CONTENT_DIGESTEDDATA
-- See Also:
- Constant Field Values
-
CONTENT_ENCRYPTEDDATA
public static final int CONTENT_ENCRYPTEDDATA
-- See Also:
- Constant Field Values
-
CONTENT_COMPRESSEDDATA
public static final int CONTENT_COMPRESSEDDATA
-- See Also:
- Constant Field Values
-
CONTENT_AUTHDATA
public static final int CONTENT_AUTHDATA
-- See Also:
- Constant Field Values
-
CONTENT_AUTHENVDATA
public static final int CONTENT_AUTHENVDATA
-- See Also:
- Constant Field Values
-
CONTENT_TSTINFO
public static final int CONTENT_TSTINFO
-- See Also:
- Constant Field Values
-
CONTENT_SPCINDIRECTDATACONTEXT
public static final int CONTENT_SPCINDIRECTDATACONTEXT
-- See Also:
- Constant Field Values
-
CONTENT_RTCSREQUEST
public static final int CONTENT_RTCSREQUEST
-- See Also:
- Constant Field Values
-
CONTENT_RTCSRESPONSE
public static final int CONTENT_RTCSRESPONSE
-- See Also:
- Constant Field Values
-
CONTENT_RTCSRESPONSE_EXT
public static final int CONTENT_RTCSRESPONSE_EXT
-- See Also:
- Constant Field Values
-
CONTENT_SCVPCERTVALREQUEST
public static final int CONTENT_SCVPCERTVALREQUEST
-- See Also:
- Constant Field Values
-
CONTENT_SCVPCERTVALRESPONSE
public static final int CONTENT_SCVPCERTVALRESPONSE
-- See Also:
- Constant Field Values
-
CONTENT_SCVPVALPOLREQUEST
public static final int CONTENT_SCVPVALPOLREQUEST
-- See Also:
- Constant Field Values
-
CONTENT_SCVPVALPOLRESPONSE
public static final int CONTENT_SCVPVALPOLRESPONSE
-- See Also:
- Constant Field Values
-
CONTENT_MRTD
public static final int CONTENT_MRTD
-- See Also:
- Constant Field Values
-
CONTENT_LAST
public static final int CONTENT_LAST
-- See Also:
- Constant Field Values
-
CLASSIFICATION_UNMARKED
public static final int CLASSIFICATION_UNMARKED
- See Also:
- Constant Field Values
-
CLASSIFICATION_UNCLASSIFIED
public static final int CLASSIFICATION_UNCLASSIFIED
- See Also:
- Constant Field Values
-
CLASSIFICATION_RESTRICTED
public static final int CLASSIFICATION_RESTRICTED
- See Also:
- Constant Field Values
-
CLASSIFICATION_CONFIDENTIAL
public static final int CLASSIFICATION_CONFIDENTIAL
- See Also:
- Constant Field Values
-
CLASSIFICATION_SECRET
public static final int CLASSIFICATION_SECRET
- See Also:
- Constant Field Values
-
CLASSIFICATION_TOP_SECRET
public static final int CLASSIFICATION_TOP_SECRET
- See Also:
- Constant Field Values
-
CLASSIFICATION_LAST
public static final int CLASSIFICATION_LAST
- See Also:
- Constant Field Values
-
CERTSTATUS_NONE
public static final int CERTSTATUS_NONE
No certificate status- See Also:
- Constant Field Values
-
CERTSTATUS_VALID
public static final int CERTSTATUS_VALID
Certificate valid- See Also:
- Constant Field Values
-
CERTSTATUS_NOTVALID
public static final int CERTSTATUS_NOTVALID
Certificate isn't valid- See Also:
- Constant Field Values
-
CERTSTATUS_NONAUTHORITATIVE
public static final int CERTSTATUS_NONAUTHORITATIVE
Response is non-authoritative- See Also:
- Constant Field Values
-
CERTSTATUS_UNKNOWN
public static final int CERTSTATUS_UNKNOWN
Certificate status unknown- See Also:
- Constant Field Values
-
CERTSTATUS_LAST
public static final int CERTSTATUS_LAST
Last possible certificate status- See Also:
- Constant Field Values
-
OCSPSTATUS_NOTREVOKED
public static final int OCSPSTATUS_NOTREVOKED
- See Also:
- Constant Field Values
-
OCSPSTATUS_REVOKED
public static final int OCSPSTATUS_REVOKED
- See Also:
- Constant Field Values
-
OCSPSTATUS_UNKNOWN
public static final int OCSPSTATUS_UNKNOWN
- See Also:
- Constant Field Values
-
SIGNATURELEVEL_NONE
public static final int SIGNATURELEVEL_NONE
Include only signature- See Also:
- Constant Field Values
-
SIGNATURELEVEL_SIGNERCERT
public static final int SIGNATURELEVEL_SIGNERCERT
Include signer cert- See Also:
- Constant Field Values
-
SIGNATURELEVEL_ALL
public static final int SIGNATURELEVEL_ALL
Include all relevant info- See Also:
- Constant Field Values
-
SIGNATURELEVEL_LAST
public static final int SIGNATURELEVEL_LAST
Last possible sig.level type- See Also:
- Constant Field Values
-
INTEGRITY_NONE
public static final int INTEGRITY_NONE
No integrity protection- See Also:
- Constant Field Values
-
INTEGRITY_MACONLY
public static final int INTEGRITY_MACONLY
MAC only, no encryption- See Also:
- Constant Field Values
-
INTEGRITY_FULL
public static final int INTEGRITY_FULL
Encryption + ingerity protection- See Also:
- Constant Field Values
-
CERTFORMAT_NONE
public static final int CERTFORMAT_NONE
No certificate format- See Also:
- Constant Field Values
-
CERTFORMAT_CERTIFICATE
public static final int CERTFORMAT_CERTIFICATE
DER-encoded certificate- See Also:
- Constant Field Values
-
CERTFORMAT_CERTCHAIN
public static final int CERTFORMAT_CERTCHAIN
PKCS #7 certificate chain- See Also:
- Constant Field Values
-
CERTFORMAT_TEXT_CERTIFICATE
public static final int CERTFORMAT_TEXT_CERTIFICATE
base-64 wrapped cert- See Also:
- Constant Field Values
-
CERTFORMAT_TEXT_CERTCHAIN
public static final int CERTFORMAT_TEXT_CERTCHAIN
base-64 wrapped cert chain- See Also:
- Constant Field Values
-
CERTFORMAT_XML_CERTIFICATE
public static final int CERTFORMAT_XML_CERTIFICATE
XML wrapped cert- See Also:
- Constant Field Values
-
CERTFORMAT_XML_CERTCHAIN
public static final int CERTFORMAT_XML_CERTCHAIN
XML wrapped cert chain- See Also:
- Constant Field Values
-
CERTFORMAT_LAST
public static final int CERTFORMAT_LAST
Last possible cert.format type- See Also:
- Constant Field Values
-
REQUESTTYPE_NONE
public static final int REQUESTTYPE_NONE
No request type- See Also:
- Constant Field Values
-
REQUESTTYPE_INITIALISATION
public static final int REQUESTTYPE_INITIALISATION
Initialisation request- See Also:
- Constant Field Values
-
REQUESTTYPE_INITIALIZATION
public static final int REQUESTTYPE_INITIALIZATION
Initialisation request- See Also:
- Constant Field Values
-
REQUESTTYPE_CERTIFICATE
public static final int REQUESTTYPE_CERTIFICATE
Certification request- See Also:
- Constant Field Values
-
REQUESTTYPE_KEYUPDATE
public static final int REQUESTTYPE_KEYUPDATE
Key update request- See Also:
- Constant Field Values
-
REQUESTTYPE_REVOCATION
public static final int REQUESTTYPE_REVOCATION
Cert revocation request- See Also:
- Constant Field Values
-
REQUESTTYPE_PKIBOOT
public static final int REQUESTTYPE_PKIBOOT
PKIBoot request- See Also:
- Constant Field Values
-
REQUESTTYPE_LAST
public static final int REQUESTTYPE_LAST
Last possible request type- See Also:
- Constant Field Values
-
KEYID_NONE
public static final int KEYID_NONE
No key ID type- See Also:
- Constant Field Values
-
KEYID_NAME
public static final int KEYID_NAME
Key owner name- See Also:
- Constant Field Values
-
KEYID_URI
public static final int KEYID_URI
Key owner URI- See Also:
- Constant Field Values
-
KEYID_EMAIL
public static final int KEYID_EMAIL
Synonym: owner email addr.- See Also:
- Constant Field Values
-
KEYID_LAST
public static final int KEYID_LAST
Last possible key ID type- See Also:
- Constant Field Values
-
OBJECT_NONE
public static final int OBJECT_NONE
No object type- See Also:
- Constant Field Values
-
OBJECT_ENCRYPTED_KEY
public static final int OBJECT_ENCRYPTED_KEY
Conventionally encrypted key- See Also:
- Constant Field Values
-
OBJECT_PKCENCRYPTED_KEY
public static final int OBJECT_PKCENCRYPTED_KEY
PKC-encrypted key- See Also:
- Constant Field Values
-
OBJECT_KEYAGREEMENT
public static final int OBJECT_KEYAGREEMENT
Key agreement information- See Also:
- Constant Field Values
-
OBJECT_SIGNATURE
public static final int OBJECT_SIGNATURE
Signature- See Also:
- Constant Field Values
-
OBJECT_LAST
public static final int OBJECT_LAST
Last possible object type- See Also:
- Constant Field Values
-
ERRTYPE_NONE
public static final int ERRTYPE_NONE
No error information- See Also:
- Constant Field Values
-
ERRTYPE_ATTR_SIZE
public static final int ERRTYPE_ATTR_SIZE
Attribute data too small or large- See Also:
- Constant Field Values
-
ERRTYPE_ATTR_VALUE
public static final int ERRTYPE_ATTR_VALUE
Attribute value is invalid- See Also:
- Constant Field Values
-
ERRTYPE_ATTR_ABSENT
public static final int ERRTYPE_ATTR_ABSENT
Required attribute missing- See Also:
- Constant Field Values
-
ERRTYPE_ATTR_PRESENT
public static final int ERRTYPE_ATTR_PRESENT
Non-allowed attribute present- See Also:
- Constant Field Values
-
ERRTYPE_CONSTRAINT
public static final int ERRTYPE_CONSTRAINT
Cert: Constraint violation in object- See Also:
- Constant Field Values
-
ERRTYPE_ISSUERCONSTRAINT
public static final int ERRTYPE_ISSUERCONSTRAINT
Cert: Constraint viol.in issuing cert- See Also:
- Constant Field Values
-
ERRTYPE_LAST
public static final int ERRTYPE_LAST
Last possible error info type- See Also:
- Constant Field Values
-
CERTACTION_NONE
public static final int CERTACTION_NONE
No cert management action- See Also:
- Constant Field Values
-
CERTACTION_CREATE
public static final int CERTACTION_CREATE
Create cert store- See Also:
- Constant Field Values
-
CERTACTION_CONNECT
public static final int CERTACTION_CONNECT
Connect to cert store- See Also:
- Constant Field Values
-
CERTACTION_DISCONNECT
public static final int CERTACTION_DISCONNECT
Disconnect from cert store- See Also:
- Constant Field Values
-
CERTACTION_ERROR
public static final int CERTACTION_ERROR
Error information- See Also:
- Constant Field Values
-
CERTACTION_ADDUSER
public static final int CERTACTION_ADDUSER
Add PKI user- See Also:
- Constant Field Values
-
CERTACTION_DELETEUSER
public static final int CERTACTION_DELETEUSER
Delete PKI user- See Also:
- Constant Field Values
-
CERTACTION_REQUEST_CERT
public static final int CERTACTION_REQUEST_CERT
Cert request- See Also:
- Constant Field Values
-
CERTACTION_REQUEST_RENEWAL
public static final int CERTACTION_REQUEST_RENEWAL
Cert renewal request- See Also:
- Constant Field Values
-
CERTACTION_REQUEST_REVOCATION
public static final int CERTACTION_REQUEST_REVOCATION
Cert revocation request- See Also:
- Constant Field Values
-
CERTACTION_CERT_CREATION
public static final int CERTACTION_CERT_CREATION
Cert creation- See Also:
- Constant Field Values
-
CERTACTION_CERT_CREATION_COMPLETE
public static final int CERTACTION_CERT_CREATION_COMPLETE
Confirmation of cert creation- See Also:
- Constant Field Values
-
CERTACTION_CERT_CREATION_DROP
public static final int CERTACTION_CERT_CREATION_DROP
Cancellation of cert creation- See Also:
- Constant Field Values
-
CERTACTION_CERT_CREATION_REVERSE
public static final int CERTACTION_CERT_CREATION_REVERSE
Cancel of creation w.revocation- See Also:
- Constant Field Values
-
CERTACTION_RESTART_CLEANUP
public static final int CERTACTION_RESTART_CLEANUP
Delete reqs after restart- See Also:
- Constant Field Values
-
CERTACTION_RESTART_REVOKE_CERT
public static final int CERTACTION_RESTART_REVOKE_CERT
Complete revocation after restart- See Also:
- Constant Field Values
-
CERTACTION_ISSUE_CERT
public static final int CERTACTION_ISSUE_CERT
Cert issue- See Also:
- Constant Field Values
-
CERTACTION_ISSUE_CRL
public static final int CERTACTION_ISSUE_CRL
CRL issue- See Also:
- Constant Field Values
-
CERTACTION_REVOKE_CERT
public static final int CERTACTION_REVOKE_CERT
Cert revocation- See Also:
- Constant Field Values
-
CERTACTION_EXPIRE_CERT
public static final int CERTACTION_EXPIRE_CERT
Cert expiry- See Also:
- Constant Field Values
-
CERTACTION_CLEANUP
public static final int CERTACTION_CLEANUP
Clean up on restart- See Also:
- Constant Field Values
-
CERTACTION_LAST
public static final int CERTACTION_LAST
Last possible cert store log action- See Also:
- Constant Field Values
-
SUBPROTOCOL_NONE
public static final int SUBPROTOCOL_NONE
No sub-protocol type- See Also:
- Constant Field Values
-
SUBPROTOCOL_WEBSOCKETS
public static final int SUBPROTOCOL_WEBSOCKETS
Websockets- See Also:
- Constant Field Values
-
SUBPROTOCOL_EAPTTLS
public static final int SUBPROTOCOL_EAPTTLS
EAP-TTLS- See Also:
- Constant Field Values
-
SUBPROTOCOL_PEAP
public static final int SUBPROTOCOL_PEAP
PEAP- See Also:
- Constant Field Values
-
SUBPROTOCOL_LAST
public static final int SUBPROTOCOL_LAST
Last possible sub-protocol type- See Also:
- Constant Field Values
-
CMPOPTION_NONE
public static final int CMPOPTION_NONE
-- See Also:
- Constant Field Values
-
CMPOPTION_3GPP
public static final int CMPOPTION_3GPP
Peer is following 33.310- See Also:
- Constant Field Values
-
TLSOPTION_NONE
public static final int TLSOPTION_NONE
Min.protocol version- See Also:
- Constant Field Values
-
TLSOPTION_MINVER_SSLV3
public static final int TLSOPTION_MINVER_SSLV3
Min.protocol version- See Also:
- Constant Field Values
-
TLSOPTION_MINVER_TLS10
public static final int TLSOPTION_MINVER_TLS10
Min.protocol version: TLS 1.0- See Also:
- Constant Field Values
-
TLSOPTION_MINVER_TLS11
public static final int TLSOPTION_MINVER_TLS11
Min.protocol version: TLS 1.1- See Also:
- Constant Field Values
-
TLSOPTION_MINVER_TLS12
public static final int TLSOPTION_MINVER_TLS12
Min.protocol version: TLS 1.2- See Also:
- Constant Field Values
-
TLSOPTION_MINVER_TLS13
public static final int TLSOPTION_MINVER_TLS13
Min.protocol version: TLS 1.3- See Also:
- Constant Field Values
-
TLSOPTION_MANUAL_CERTCHECK
public static final int TLSOPTION_MANUAL_CERTCHECK
Require manual cert.verification- See Also:
- Constant Field Values
-
TLSOPTION_DISABLE_NAMEVERIFY
public static final int TLSOPTION_DISABLE_NAMEVERIFY
Disable cert hostname check- See Also:
- Constant Field Values
-
TLSOPTION_DISABLE_CERTVERIFY
public static final int TLSOPTION_DISABLE_CERTVERIFY
Disable certificate check- See Also:
- Constant Field Values
-
TLSOPTION_SERVER_SNI
public static final int TLSOPTION_SERVER_SNI
Enable SNI-based key selection- See Also:
- Constant Field Values
-
TLSOPTION_RESUMED
public static final int TLSOPTION_RESUMED
TLS session is resumed- See Also:
- Constant Field Values
-
TLSOPTION_SUITEB_128
public static final int TLSOPTION_SUITEB_128
SuiteB security levels (will- See Also:
- Constant Field Values
-
TLSOPTION_SUITEB_256
public static final int TLSOPTION_SUITEB_256
vanish in future releases)- See Also:
- Constant Field Values
-
MAX_KEYSIZE
public static final int MAX_KEYSIZE
Maximal user key size in bytes- See Also:
- Constant Field Values
-
MAX_IVSIZE
public static final int MAX_IVSIZE
Maximal user key initialsation vector size in bytes- See Also:
- Constant Field Values
-
MAX_PKCSIZE_ECC
public static final int MAX_PKCSIZE_ECC
The maximum component size for ECCs in bytes- See Also:
- Constant Field Values
-
MAX_HASHSIZE
public static final int MAX_HASHSIZE
The maximum hash size in bytes- See Also:
- Constant Field Values
-
MAX_TEXTSIZE
public static final int MAX_TEXTSIZE
The maximum size of a text string (e.g.key owner name)- See Also:
- Constant Field Values
-
USE_DEFAULT
public static final int USE_DEFAULT
A magic value indicating that the default setting for this parameter should be used.- See Also:
- Constant Field Values
-
UNUSED
public static final int UNUSED
A magic value for unused parameters- See Also:
- Constant Field Values
-
CURSOR_FIRST
public static final int CURSOR_FIRST
Cursor positioning code for first item- See Also:
- Constant Field Values
-
CURSOR_PREVIOUS
public static final int CURSOR_PREVIOUS
Cursor positioning code for previous item- See Also:
- Constant Field Values
-
CURSOR_NEXT
public static final int CURSOR_NEXT
Cursor positioning code for next item- See Also:
- Constant Field Values
-
CURSOR_LAST
public static final int CURSOR_LAST
Cursor positioning code for last item- See Also:
- Constant Field Values
-
RANDOM_FASTPOLL
public static final int RANDOM_FASTPOLL
fast polling to perform to get random seed information.- See Also:
- Constant Field Values
-
RANDOM_SLOWPOLL
public static final int RANDOM_SLOWPOLL
slow polling to perform to get random seed information.- See Also:
- Constant Field Values
-
KEYTYPE_PRIVATE
public static final int KEYTYPE_PRIVATE
Key is a private public key cryptography key- See Also:
- Constant Field Values
-
KEYTYPE_PUBLIC
public static final int KEYTYPE_PUBLIC
Key is a ppublic public key cryptography key- See Also:
- Constant Field Values
-
KEYOPT_NONE
public static final int KEYOPT_NONE
No options- See Also:
- Constant Field Values
-
KEYOPT_READONLY
public static final int KEYOPT_READONLY
Open keyset in read-only mode- See Also:
- Constant Field Values
-
KEYOPT_CREATE
public static final int KEYOPT_CREATE
Create a new keyset- See Also:
- Constant Field Values
-
KEYOPT_LAST
public static final int KEYOPT_LAST
Last possible key option type- See Also:
- Constant Field Values
-
ECCCURVE_NONE
public static final int ECCCURVE_NONE
No ECC curve type- See Also:
- Constant Field Values
-
ECCCURVE_P256
public static final int ECCCURVE_P256
NIST P256/X9.62 P256v1/SECG p256r1 curve- See Also:
- Constant Field Values
-
ECCCURVE_P384
public static final int ECCCURVE_P384
NIST P384, SECG p384r1 curve- See Also:
- Constant Field Values
-
ECCCURVE_P521
public static final int ECCCURVE_P521
NIST P521, SECG p521r1- See Also:
- Constant Field Values
-
ECCCURVE_BRAINPOOL_P256
public static final int ECCCURVE_BRAINPOOL_P256
Brainpool p256r1- See Also:
- Constant Field Values
-
ECCCURVE_BRAINPOOL_P384
public static final int ECCCURVE_BRAINPOOL_P384
Brainpool p384r1- See Also:
- Constant Field Values
-
ECCCURVE_BRAINPOOL_P512
public static final int ECCCURVE_BRAINPOOL_P512
Brainpool p512r1- See Also:
- Constant Field Values
-
ECCCURVE_25519
public static final int ECCCURVE_25519
X25519/Ed25519- See Also:
- Constant Field Values
-
ECCCURVE_448
public static final int ECCCURVE_448
X448/Ed448- See Also:
- Constant Field Values
-
ECCCURVE_LAST
public static final int ECCCURVE_LAST
Last valid ECC curve type- See Also:
- Constant Field Values
-
OK
public static final int OK
No error- See Also:
- Constant Field Values
-
ERROR_PARAM1
public static final int ERROR_PARAM1
Bad argument, parameter 1- See Also:
- Constant Field Values
-
ERROR_PARAM2
public static final int ERROR_PARAM2
Bad argument, parameter 2- See Also:
- Constant Field Values
-
ERROR_PARAM3
public static final int ERROR_PARAM3
Bad argument, parameter 3- See Also:
- Constant Field Values
-
ERROR_PARAM4
public static final int ERROR_PARAM4
Bad argument, parameter 4- See Also:
- Constant Field Values
-
ERROR_PARAM5
public static final int ERROR_PARAM5
Bad argument, parameter 5- See Also:
- Constant Field Values
-
ERROR_PARAM6
public static final int ERROR_PARAM6
Bad argument, parameter 6- See Also:
- Constant Field Values
-
ERROR_PARAM7
public static final int ERROR_PARAM7
Bad argument, parameter 7- See Also:
- Constant Field Values
-
ERROR_MEMORY
public static final int ERROR_MEMORY
Out of memory- See Also:
- Constant Field Values
-
ERROR_NOTINITED
public static final int ERROR_NOTINITED
Data has not been initialised- See Also:
- Constant Field Values
-
ERROR_INITED
public static final int ERROR_INITED
Data has already been init'd- See Also:
- Constant Field Values
-
ERROR_NOSECURE
public static final int ERROR_NOSECURE
Opn.not avail.at requested sec.level- See Also:
- Constant Field Values
-
ERROR_RANDOM
public static final int ERROR_RANDOM
No reliable random data available- See Also:
- Constant Field Values
-
ERROR_FAILED
public static final int ERROR_FAILED
Operation failed- See Also:
- Constant Field Values
-
ERROR_INTERNAL
public static final int ERROR_INTERNAL
Internal consistency check failed- See Also:
- Constant Field Values
-
ERROR_NOTAVAIL
public static final int ERROR_NOTAVAIL
This type of opn.not available- See Also:
- Constant Field Values
-
ERROR_PERMISSION
public static final int ERROR_PERMISSION
No permiss.to perform this operation- See Also:
- Constant Field Values
-
ERROR_WRONGKEY
public static final int ERROR_WRONGKEY
Incorrect key used to decrypt data- See Also:
- Constant Field Values
-
ERROR_INCOMPLETE
public static final int ERROR_INCOMPLETE
Operation incomplete/still in progress- See Also:
- Constant Field Values
-
ERROR_COMPLETE
public static final int ERROR_COMPLETE
Operation complete/can't continue- See Also:
- Constant Field Values
-
ERROR_TIMEOUT
public static final int ERROR_TIMEOUT
Operation timed out before completion- See Also:
- Constant Field Values
-
ERROR_INVALID
public static final int ERROR_INVALID
Invalid/inconsistent information- See Also:
- Constant Field Values
-
ERROR_SIGNALLED
public static final int ERROR_SIGNALLED
Resource destroyed by extnl.event- See Also:
- Constant Field Values
-
ERROR_OVERFLOW
public static final int ERROR_OVERFLOW
Resources/space exhausted- See Also:
- Constant Field Values
-
ERROR_UNDERFLOW
public static final int ERROR_UNDERFLOW
Not enough data available- See Also:
- Constant Field Values
-
ERROR_BADDATA
public static final int ERROR_BADDATA
Bad/unrecognised data format- See Also:
- Constant Field Values
-
ERROR_SIGNATURE
public static final int ERROR_SIGNATURE
Signature/integrity check failed- See Also:
- Constant Field Values
-
ERROR_OPEN
public static final int ERROR_OPEN
Cannot open object- See Also:
- Constant Field Values
-
ERROR_READ
public static final int ERROR_READ
Cannot read item from object- See Also:
- Constant Field Values
-
ERROR_WRITE
public static final int ERROR_WRITE
Cannot write item to object- See Also:
- Constant Field Values
-
ERROR_NOTFOUND
public static final int ERROR_NOTFOUND
Requested item not found in object- See Also:
- Constant Field Values
-
ERROR_DUPLICATE
public static final int ERROR_DUPLICATE
Item already present in object- See Also:
- Constant Field Values
-
ENVELOPE_RESOURCE
public static final int ENVELOPE_RESOURCE
Need resource to proceed- See Also:
- Constant Field Values
-
-
Method Detail
-
Init
public static void Init() throws CryptExceptionThe cryptInit function is used to initialise cryptlib before use. This function should be called before any other cryptlib function is called.- Throws:
CryptException- This exception returns an integer status code and a string error message
-
End
public static void End() throws CryptExceptionThe cryptEnd function is used to shut down cryptlib after use. This function should be called after you have finished using cryptlib.- Throws:
CryptException- This exception returns an integer status code and a string error message
-
QueryCapability
public static CRYPT_QUERY_INFO QueryCapability(int cryptAlgo) throws CryptException
The cryptQueryCapability function is used to obtain information about the characteristics of a particular encryption algorithm. The information returned covers the algorithm’s key size, data block size, and other algorithm-specific information.Remarks: Any fields in the CRYPT_QUERY_INFO structure that don’t apply to the algorithm being queried are set to CRYPT_ERROR, null or zero as appropriate. To determine whether an algorithm is available (without returning information on it), set the query information pointer to null.
- Parameters:
cryptAlgo- The encryption algorithm to be queried.- Returns:
- The address of a CRYPT_QUERY_INFO structure which is filled with the information on the requested algorithm and mode, or null if this information isn’t required.
- Throws:
CryptException- This exception returns an integer status code and a string error message
-
CreateContext
public static int CreateContext(int cryptUser, int cryptAlgo) throws CryptExceptionThe cryptCreateContext function is used to create an encryption context for a given encryption algorithm.- Parameters:
cryptUser- The user who is to own the encryption context or CRYPT_UNUSED for the default, normal user.cryptAlgo- The encryption algorithm to be used in the context.- Returns:
- The address of the encryption context to be created.
- Throws:
CryptException- This exception returns an integer status code and a string error message
-
DestroyContext
public static void DestroyContext(int cryptContext) throws CryptExceptionThe cryptDestroyContext function is used to destroy an encryption context after use. This erases all keying and security information used by the context and frees up any memory it uses.- Parameters:
cryptContext- The encryption context to be destroyed.- Throws:
CryptException- This exception returns an integer status code and a string error message
-
DestroyObject
public static void DestroyObject(int cryptObject) throws CryptExceptionThe cryptDestroyObject function is used to destroy a cryptlib object after use. This erases all security information used by the object, closes any open data sources, and frees up any memory it uses.Remarks: This function is a generic form of the specialised functions that destroy/close specific cryptlib object types such as encryption contexts and certificate and keyset objects. In some cases it may not be possible to determine the exact type of an object (for example the keyset access functions may return a key certificate object or only an encryption context depending on the keyset type), cryptDestroyObject can be used to destroy an object of an unknown type.
- Parameters:
cryptObject- The object to be destroyed.- Throws:
CryptException- This exception returns an integer status code and a string error message
-
GenerateKey
public static void GenerateKey(int cryptContext) throws CryptExceptionThe cryptGenerateKey function is used to generate a new key into an encryption context.Remarks: Hash contexts don’t require keys, so an attempt to generate a key into a hash context will return CRYPT_ERROR_NOTAVAIL. cryptGenerateKey will generate a key of a length appropriate for the algorithm being used into an encryption context. If you want to specify the generation of a key of a particular length, you should set the CRYPT_CTXINFO_KEYSIZE attribute before calling this function.
- Parameters:
cryptContext- The encryption context into which the key is to be generated.- Throws:
CryptException- This exception returns an integer status code and a string error message
-
Encrypt
public static void Encrypt(int cryptContext, java.nio.ByteBuffer buffer, int bufferOffset, int length) throws CryptExceptionThe cryptEncrypt function is used to encrypt or hash data.Remarks: Public-key encryption and signature algorithms have special data formatting requirements that need to be taken into account when this function is called. You shouldn’t use this function with these algorithm types, but instead should use the higher-level functions cryptCreateSignature, cryptCheckSignature, cryptWrapKey, and cryptUnwrapKey.
- Parameters:
cryptContext- The encryption context to use to encrypt or hash the data.buffer- The address of the data to be encrypted or hashed.length- The length in bytes of the data to be encrypted or hashed.- Throws:
CryptException- This exception returns an integer status code and a string error message
-
Encrypt
public static void Encrypt(int cryptContext, byte[] buffer, int bufferOffset, int length) throws CryptException- Throws:
CryptException
-
Encrypt
public static void Encrypt(int cryptContext, java.nio.ByteBuffer buffer) throws CryptException- Throws:
CryptException
-
Encrypt
public static void Encrypt(int cryptContext, byte[] buffer) throws CryptException- Throws:
CryptException
-
Decrypt
public static void Decrypt(int cryptContext, java.nio.ByteBuffer buffer, int bufferOffset, int length) throws CryptExceptionThe cryptDecrypt function is used to decrypt or hash data.Remarks: Public-key encryption and signature algorithms have special data formatting requirements that need to be taken into account when this function is called. You shouldn’t use this function with these algorithm types, but instead should use the higher-level functions cryptCreateSignature, cryptCheckSignature, cryptWrapKey, and cryptUnwrapKey.
- Parameters:
cryptContext- The encryption context to use to decrypt or hash the data.buffer- The address of the data to be decrypted or hashed.length- The length in bytes of the data to be decrypted or hashed.- Throws:
CryptException- This exception returns an integer status code and a string error message
-
Decrypt
public static void Decrypt(int cryptContext, byte[] buffer, int bufferOffset, int length) throws CryptException- Throws:
CryptException
-
Decrypt
public static void Decrypt(int cryptContext, java.nio.ByteBuffer buffer) throws CryptException- Throws:
CryptException
-
Decrypt
public static void Decrypt(int cryptContext, byte[] buffer) throws CryptException- Throws:
CryptException
-
SetAttribute
public static void SetAttribute(int cryptHandle, int attributeType, int value) throws CryptExceptionThe cryptSetAttribute function is used to add boolean or numeric information, command codes, and objects to a cryptlib object.- Parameters:
cryptHandle- The object to which to add the value.attributeType- The attribute which is being added.value- The boolean or numeric value, command code, or object which is being added.- Throws:
CryptException- This exception returns an integer status code and a string error message
-
SetAttributeString
public static void SetAttributeString(int cryptHandle, int attributeType, java.nio.ByteBuffer value, int valueOffset, int valueLength) throws CryptExceptionThe cryptSetAttributeString function is used to add text or binary strings or time values to an object.- Parameters:
cryptHandle- The object to which to add the text or binary string or time value.attributeType- The attribute which is being added.value- The address of the data being added.valueLength- The length in bytes of the data being added.- Throws:
CryptException- This exception returns an integer status code and a string error message
-
SetAttributeString
public static void SetAttributeString(int cryptHandle, int attributeType, byte[] value, int valueOffset, int valueLength) throws CryptException- Throws:
CryptException
-
SetAttributeString
public static void SetAttributeString(int cryptHandle, int attributeType, java.nio.ByteBuffer value) throws CryptException- Throws:
CryptException
-
SetAttributeString
public static void SetAttributeString(int cryptHandle, int attributeType, byte[] value) throws CryptException- Throws:
CryptException
-
SetAttributeString
public static void SetAttributeString(int cryptHandle, int attributeType, java.lang.String value) throws CryptException- Throws:
CryptException
-
GetAttribute
public static int GetAttribute(int cryptHandle, int attributeType) throws CryptExceptionThe cryptGetAttribute function is used to obtain a boolean or numeric value, status information, or object from a cryptlib object.- Parameters:
cryptHandle- The object from which to read the boolean or numeric value, status information, or object.attributeType- The attribute which is being read.- Returns:
- The boolean or numeric value, status information, or object.
- Throws:
CryptException- This exception returns an integer status code and a string error message
-
GetAttributeString
public static int GetAttributeString(int cryptHandle, int attributeType, java.nio.ByteBuffer value, int valueOffset) throws CryptExceptionThe cryptGetAttributeString function is used to obtain text or binary strings or time values from a cryptlib object.- Parameters:
cryptHandle- The object from which to read the text or binary string or time value.attributeType- The attribute which is being read.value- The address of a buffer to contain the data. If you set this parameter to null, cryptGetAttributeString will return the length of the data in attributeLength without returning the data itself.- Returns:
- The address of a buffer to contain the data. If you set this parameter to null, cryptGetAttributeString will return the length of the data in attributeLength without returning the data itself.
- Throws:
CryptException- This exception returns an integer status code and a string error message
-
GetAttributeString
public static int GetAttributeString(int cryptHandle, int attributeType, byte[] value, int valueOffset) throws CryptException- Throws:
CryptException
-
GetAttributeString
public static int GetAttributeString(int cryptHandle, int attributeType, java.nio.ByteBuffer value) throws CryptException- Throws:
CryptException
-
GetAttributeString
public static int GetAttributeString(int cryptHandle, int attributeType, byte[] value) throws CryptException- Throws:
CryptException
-
GetAttributeString
public static java.lang.String GetAttributeString(int cryptHandle, int attributeType) throws CryptException- Throws:
CryptException
-
DeleteAttribute
public static void DeleteAttribute(int cryptHandle, int attributeType) throws CryptExceptionThe cryptDeleteAttribute function is used to delete an attribute from an object.Remarks. Most attributes are always present and can’t be deleted, in general only certificate attributes are deletable.
- Parameters:
cryptHandle- The object from which to delete the attribute.attributeType- The attribute to delete.- Throws:
CryptException- This exception returns an integer status code and a string error message
-
AddRandom
public static void AddRandom(java.nio.ByteBuffer randomData, int randomDataOffset, int randomDataLength) throws CryptExceptionThe cryptAddRandom function is used to add random data to the internal random data pool maintained by cryptlib, or to tell cryptlib to poll the system for random information. The random data pool is used to generate session keys and public/private keys, and by several of the high-level cryptlib functions.- Parameters:
randomData- The address of the random data to be added, or null if cryptlib should poll the system for random information.randomDataLength- The length of the random data being added, or CRYPT_RANDOM_SLOWPOLL to perform an in-depth, slow poll or CRYPT_RANDOM_FASTPOLL to perform a less thorough but faster poll for random information.- Throws:
CryptException- This exception returns an integer status code and a string error message
-
AddRandom
public static void AddRandom(byte[] randomData, int randomDataOffset, int randomDataLength) throws CryptException- Throws:
CryptException
-
AddRandom
public static void AddRandom(java.nio.ByteBuffer randomData) throws CryptException- Throws:
CryptException
-
AddRandom
public static void AddRandom(byte[] randomData) throws CryptException- Throws:
CryptException
-
AddRandom
public static void AddRandom(java.lang.String randomData) throws CryptException- Throws:
CryptException
-
AddRandom
public static void AddRandom(int pollType) throws CryptException- Throws:
CryptException
-
QueryObject
public static CRYPT_OBJECT_INFO QueryObject(java.nio.ByteBuffer objectData, int objectDataOffset, int objectDataLength) throws CryptException
The cryptQueryObject function is used to obtain information about an exported key object created with cryptWrapKey or a signature object created with cryptCreateSignature. It returns information such as the type and algorithms used by the object.Remarks: Any fields in the CRYPT_OBJECT_INFO structure that don’t apply to the object being queried are set to CRYPT_ERROR, null or zero as appropriate.
- Parameters:
objectData- The address of a buffer that contains the object created by cryptWrapKey orobjectDataLength- The length in bytes of the object data.- Returns:
- The address of a CRYPT_OBJECT_INFO structure that contains information on the exported key or signature.
- Throws:
CryptException- This exception returns an integer status code and a string error message
-
QueryObject
public static CRYPT_OBJECT_INFO QueryObject(byte[] objectData, int objectDataOffset, int objectDataLength) throws CryptException
- Throws:
CryptException
-
QueryObject
public static CRYPT_OBJECT_INFO QueryObject(java.nio.ByteBuffer objectData) throws CryptException
- Throws:
CryptException
-
QueryObject
public static CRYPT_OBJECT_INFO QueryObject(byte[] objectData) throws CryptException
- Throws:
CryptException
-
QueryObject
public static CRYPT_OBJECT_INFO QueryObject(java.lang.String objectData) throws CryptException
- Throws:
CryptException
-
WrapKey
public static int WrapKey(java.nio.ByteBuffer encryptedKey, int encryptedKeyOffset, int encryptedKeyMaxLength, int exportKey, int sessionKeyContext) throws CryptExceptionThe cryptWrapKey function is used to share a session key between two parties by wrapping a session key from a context in a secure manner. The wrapped key is placed in a buffer in a portable format that allows it to be unwrapped back into a context using cryptUnwrapKey. A session key can be wrapped using either a public key or key certificate or a conventional encryption key.- Parameters:
encryptedKey- The address of a buffer to contain the wrapped key. If you set this parameter to null, cryptWrapKey will return the length of the wrapped key in encryptedKeyLength without actually wrapping the key.encryptedKeyMaxLength- The maximum size in bytes of the buffer to contain the wrapped key.exportKey- A public-key or conventional encryption context or key certificate object containing the public or conventional key used to wrap the session key.sessionKeyContext- An encryption context containing the session key to wrap.- Returns:
- The address of the wrapped key length.
- Throws:
CryptException- This exception returns an integer status code and a string error message
-
WrapKey
public static int WrapKey(byte[] encryptedKey, int encryptedKeyOffset, int encryptedKeyMaxLength, int exportKey, int sessionKeyContext) throws CryptException- Throws:
CryptException
-
WrapKey
public static int WrapKey(java.nio.ByteBuffer encryptedKey, int encryptedKeyMaxLength, int exportKey, int sessionKeyContext) throws CryptException- Throws:
CryptException
-
WrapKey
public static int WrapKey(byte[] encryptedKey, int encryptedKeyMaxLength, int exportKey, int sessionKeyContext) throws CryptException- Throws:
CryptException
-
WrapKeyEx
public static int WrapKeyEx(java.nio.ByteBuffer encryptedKey, int encryptedKeyOffset, int encryptedKeyMaxLength, int formatType, int exportKey, int sessionKeyContext) throws CryptExceptionThe cryptWrapKeyEx function is used to share a session key between two parties by wrapping a session key from a context in a secure manner with extended control over the wrapped key format. The wrapped key is placed in a buffer in a portable format that allows it to be unwrapped back into a context using cryptUnwrapKey. A session key can be wrapped using either a public key or key certificate or a conventional encryption key.- Parameters:
encryptedKey- The address of a buffer to contain the wrapped key. If you set this parameter to null, cryptWrapKeyEx will return the length of the wrapped key in encryptedKeyLength without actually wrapping the key.encryptedKeyMaxLength- The maximum size in bytes of the buffer to contain the wrapped key.formatType- The format for the wrapped key.exportKey- A public-key or conventional encryption context or key certificate object containing the public or conventional key used to wrap the session key.sessionKeyContext- An encryption context containing the session key to wrap.- Returns:
- The address of the wrapped key length.
- Throws:
CryptException- This exception returns an integer status code and a string error message
-
WrapKeyEx
public static int WrapKeyEx(byte[] encryptedKey, int encryptedKeyOffset, int encryptedKeyMaxLength, int formatType, int exportKey, int sessionKeyContext) throws CryptException- Throws:
CryptException
-
WrapKeyEx
public static int WrapKeyEx(java.nio.ByteBuffer encryptedKey, int encryptedKeyMaxLength, int formatType, int exportKey, int sessionKeyContext) throws CryptException- Throws:
CryptException
-
WrapKeyEx
public static int WrapKeyEx(byte[] encryptedKey, int encryptedKeyMaxLength, int formatType, int exportKey, int sessionKeyContext) throws CryptException- Throws:
CryptException
-
UnwrapKey
public static void UnwrapKey(java.nio.ByteBuffer encryptedKey, int encryptedKeyOffset, int encryptedKeyLength, int importKey, int sessionKeyContext) throws CryptExceptionThe cryptUnwrapKey function is used to share a session key between two parties by unwrapping an encrypted session key that was previously wrapped with cryptWrapKey into an encryption context. A session key is unwrapped using either a private key or a conventional encryption key.- Parameters:
encryptedKey- The address of a buffer that contains the wrapped key created by cryptWrapKey.encryptedKeyLength- The length in bytes of the encrypted key data.importKey- A public-key or conventional encryption context containing the private or conventional key required to unwrap the session key.sessionKeyContext- The context used to contain the unwrapped session key.- Throws:
CryptException- This exception returns an integer status code and a string error message
-
UnwrapKey
public static void UnwrapKey(byte[] encryptedKey, int encryptedKeyOffset, int encryptedKeyLength, int importKey, int sessionKeyContext) throws CryptException- Throws:
CryptException
-
UnwrapKey
public static void UnwrapKey(java.nio.ByteBuffer encryptedKey, int importKey, int sessionKeyContext) throws CryptException- Throws:
CryptException
-
UnwrapKey
public static void UnwrapKey(byte[] encryptedKey, int importKey, int sessionKeyContext) throws CryptException- Throws:
CryptException
-
UnwrapKey
public static void UnwrapKey(java.lang.String encryptedKey, int importKey, int sessionKeyContext) throws CryptException- Throws:
CryptException
-
UnwrapKeyEx
public static int UnwrapKeyEx(java.nio.ByteBuffer encryptedKey, int encryptedKeyOffset, int encryptedKeyLength, int importKey, int sessionKeyContext) throws CryptExceptioncryptUnwrapKeyEx takes one extra parameter, a pointer to the wrapped key, which is required for OpenPGP key import. For all other formats this value is set to NULL, for OpenPGP the imported key parameter is set to CRYPT_UNUSED and the key is returned in the extra parameter:/* Import a non-PGP format key *\/
cryptUnwrapKeyEx( encryptedKey, encryptedKeyLength, importContext, cryptContext, NULL );
/* Import a PGP-format key *\/
cryptImportKeyEx( encryptedKey, encryptedKeyLength, importContext, CRYPT_UNUSED, &cryptContext );This is required because PGP’s handling of keys differs somewhat from that used with other formats.
- Throws:
CryptException- This exception returns an integer status code and a string error message
-
UnwrapKeyEx
public static int UnwrapKeyEx(byte[] encryptedKey, int encryptedKeyOffset, int encryptedKeyLength, int importKey, int sessionKeyContext) throws CryptException- Throws:
CryptException
-
UnwrapKeyEx
public static int UnwrapKeyEx(java.nio.ByteBuffer encryptedKey, int importKey, int sessionKeyContext) throws CryptException- Throws:
CryptException
-
UnwrapKeyEx
public static int UnwrapKeyEx(byte[] encryptedKey, int importKey, int sessionKeyContext) throws CryptException- Throws:
CryptException
-
UnwrapKeyEx
public static int UnwrapKeyEx(java.lang.String encryptedKey, int importKey, int sessionKeyContext) throws CryptException- Throws:
CryptException
-
CreateSignature
public static int CreateSignature(java.nio.ByteBuffer signature, int signatureOffset, int signatureMaxLength, int signContext, int hashContext) throws CryptExceptionThe cryptCreateSignature function digitally signs a piece of data. The signature is placed in a buffer in a portable format that allows it to be checked using cryptCheckSignature.- Parameters:
signature- The address of a buffer to contain the signature. If you set this parameter to null, cryptCreateSignature will return the length of the signature in signatureLength without actually generating the signature.signatureMaxLength- The maximum size in bytes of the buffer to contain the signature data.signContext- A public-key encryption or signature context containing the private key used to sign the data.hashContext- A hash context containing the hash of the data to sign.- Returns:
- The address of the signature length.
- Throws:
CryptException- This exception returns an integer status code and a string error message
-
CreateSignature
public static int CreateSignature(byte[] signature, int signatureOffset, int signatureMaxLength, int signContext, int hashContext) throws CryptException- Throws:
CryptException
-
CreateSignature
public static int CreateSignature(java.nio.ByteBuffer signature, int signatureMaxLength, int signContext, int hashContext) throws CryptException- Throws:
CryptException
-
CreateSignature
public static int CreateSignature(byte[] signature, int signatureMaxLength, int signContext, int hashContext) throws CryptException- Throws:
CryptException
-
CreateSignatureEx
public static int CreateSignatureEx(java.nio.ByteBuffer signature, int signatureOffset, int signatureMaxLength, int formatType, int signContext, int hashContext, int extraData) throws CryptExceptionThe cryptCreateSignatureEx function digitally signs a piece of data with extended control over the signature format. The signature is placed in a buffer in a portable format that allows it to be checked using cryptCheckSignatureEx.- Parameters:
signature- The address of a buffer to contain the signature. If you set this parameter to null, cryptCreateSignature will return the length of the signature in signatureLength without actually generating the signature.signatureMaxLength- The maximum size in bytes of the buffer to contain the signature data.formatType- The format of the signature to create.signContext- A public-key encryption or signature context containing the private key used to sign the data.hashContext- A hash context containing the hash of the data to sign.extraData- Extra information to include with the signature or CRYPT_UNUSED if the format is the default signature format (which doesn’t use the extra data) or CRYPT_USE_DEFAULT if the signature isn’t the default format and you want to use the default extra information.- Returns:
- The address of the signature length.
- Throws:
CryptException- This exception returns an integer status code and a string error message
-
CreateSignatureEx
public static int CreateSignatureEx(byte[] signature, int signatureOffset, int signatureMaxLength, int formatType, int signContext, int hashContext, int extraData) throws CryptException- Throws:
CryptException
-
CreateSignatureEx
public static int CreateSignatureEx(java.nio.ByteBuffer signature, int signatureMaxLength, int formatType, int signContext, int hashContext, int extraData) throws CryptException- Throws:
CryptException
-
CreateSignatureEx
public static int CreateSignatureEx(byte[] signature, int signatureMaxLength, int formatType, int signContext, int hashContext, int extraData) throws CryptException- Throws:
CryptException
-
CheckSignature
public static void CheckSignature(java.nio.ByteBuffer signature, int signatureOffset, int signatureLength, int sigCheckKey, int hashContext) throws CryptExceptionThe cryptCheckSignature function is used to check the digital signature on a piece of data.- Parameters:
signature- The address of a buffer that contains the signature.signatureLength- The length in bytes of the signature data.sigCheckKey- A public-key context or key certificate object containing the public key used to verify the signature.hashContext- A hash context containing the hash of the data.- Throws:
CryptException- This exception returns an integer status code and a string error message
-
CheckSignature
public static void CheckSignature(byte[] signature, int signatureOffset, int signatureLength, int sigCheckKey, int hashContext) throws CryptException- Throws:
CryptException
-
CheckSignature
public static void CheckSignature(java.nio.ByteBuffer signature, int sigCheckKey, int hashContext) throws CryptException- Throws:
CryptException
-
CheckSignature
public static void CheckSignature(byte[] signature, int sigCheckKey, int hashContext) throws CryptException- Throws:
CryptException
-
CheckSignature
public static void CheckSignature(java.lang.String signature, int sigCheckKey, int hashContext) throws CryptException- Throws:
CryptException
-
CheckSignatureEx
public static int CheckSignatureEx(java.nio.ByteBuffer signature, int signatureOffset, int signatureLength, int sigCheckKey, int hashContext) throws CryptExceptionThe cryptCheckSignatureEx function is used to check the digital signature on a piece of data with extended control over the signature information.- Parameters:
signature- The address of a buffer that contains the signature.signatureLength- The length in bytes of the signature data.sigCheckKey- A public-key context or key certificate object containing the public key used to verify the signature.hashContext- A hash context containing the hash of the data.- Throws:
CryptException- This exception returns an integer status code and a string error message
-
CheckSignatureEx
public static int CheckSignatureEx(byte[] signature, int signatureOffset, int signatureLength, int sigCheckKey, int hashContext) throws CryptException- Throws:
CryptException
-
CheckSignatureEx
public static int CheckSignatureEx(java.nio.ByteBuffer signature, int sigCheckKey, int hashContext) throws CryptException- Throws:
CryptException
-
CheckSignatureEx
public static int CheckSignatureEx(byte[] signature, int sigCheckKey, int hashContext) throws CryptException- Throws:
CryptException
-
CheckSignatureEx
public static int CheckSignatureEx(java.lang.String signature, int sigCheckKey, int hashContext) throws CryptException- Throws:
CryptException
-
KeysetOpen
public static int KeysetOpen(int cryptUser, int keysetType, java.lang.String name, int options) throws CryptExceptionThe cryptKeysetOpen function is used to establish a connection to a key collection or keyset.- Parameters:
cryptUser- The user who is to own the keyset object or CRYPT_UNUSED for the default, normal user.keysetType- The keyset type to be used.name- The name of the keyset.options- Option flags to apply when opening or accessing the keyset.- Returns:
- The address of the keyset object to be created.
- Throws:
CryptException- This exception returns an integer status code and a string error message
-
KeysetClose
public static void KeysetClose(int keyset) throws CryptExceptionThe cryptKeysetClose function is used to destroy a keyset object after use. This closes the connection to the key collection or keyset and frees up any memory it uses.- Parameters:
keyset- The keyset object to be destroyed.- Throws:
CryptException- This exception returns an integer status code and a string error message
-
GetPublicKey
public static int GetPublicKey(int keyset, int keyIDtype, java.lang.String keyID) throws CryptExceptionThe cryptGetPublicKey function is used to create an encryption context from a public key in a keyset or crypto device. The public key is identified either through the key owner’s name or their email address.- Parameters:
keyset- The keyset or device from which to obtain the key.keyIDtype- The type of the key ID, either CRYPT_KEYID_NAME for the name or key label, or CRYPT_KEYID_EMAIL for the email address.keyID- The key ID of the key to read.- Returns:
- The address of the context or certificate to be fetched.
- Throws:
CryptException- This exception returns an integer status code and a string error message
-
GetPrivateKey
public static int GetPrivateKey(int keyset, int keyIDtype, java.lang.String keyID, java.lang.String password) throws CryptExceptionThe cryptGetPrivateKey function is used to create an encryption context from a private key in a keyset or crypto device. The private key is identified either through the key owner’s name or their email address.Remarks: cryptGetPrivateKey will return CRYPT_ERROR_WRONGKEY if an incorrect password is supplied. This can be used to determine whether a password is necessary by first calling the function with a null password and then retrying the read with a user-supplied password if the first call returns with CRYPT_ERROR_WRONGKEY.
- Parameters:
keyset- The keyset or device from which to obtain the key.keyIDtype- The type of the key ID, either CRYPT_KEYID_NAME for the name or key label, or CRYPT_KEYID_EMAIL for the email address.keyID- The key ID of the key to read.password- The password required to decrypt the private key, or null if no password is required.- Returns:
- The address of the context to be fetched.
- Throws:
CryptException- This exception returns an integer status code and a string error message
-
GetKey
public static int GetKey(int keyset, int keyIDtype, java.lang.String keyID, java.lang.String password) throws CryptExceptionsee GetPublicKey- Throws:
CryptException
-
AddPublicKey
public static void AddPublicKey(int keyset, int certificate) throws CryptExceptionThe cryptAddPublicKey function is used to add a user’s public key or certificate to a keyset.Remarks: This function requires a key certificate object rather than an encryption context, since the certificate contains additional identification information which is used when the certificate is written to the keyset.
- Parameters:
keyset- The keyset object to which to write the key.certificate- The certificate to add to the keyset.- Throws:
CryptException- This exception returns an integer status code and a string error message
-
AddPrivateKey
public static void AddPrivateKey(int keyset, int cryptKey, java.lang.String password) throws CryptExceptionThe cryptAddPrivateKey function is used to add a user’s private key to a keyset.Remarks: The use of a password to encrypt the private key is required when storing a private key to a keyset, but not to a crypto device such as a smart card or HSM or TPM, since these provide their own protection for the key data.
- Parameters:
keyset- The keyset object to which to write the key.cryptKey- The private key to write to the keyset.password- The password used to encrypt the private key.- Throws:
CryptException- This exception returns an integer status code and a string error message
-
DeleteKey
public static void DeleteKey(int keyset, int keyIDtype, java.lang.String keyID) throws CryptExceptionThe cryptDeleteKey function is used to delete a key or certificate from a keyset ordevice. The key to delete is identified either through the key owner’s name or theiremail address.- Parameters:
keyset- The keyset or device object from which to delete the key.keyIDtype- The type of the key ID, either CRYPT_KEYID_NAME for the name or key label, or CRYPT_KEYID_EMAIL for the email address.keyID- The key ID of the key to delete.- Throws:
CryptException- This exception returns an integer status code and a string error message
-
CreateCert
public static int CreateCert(int cryptUser, int certType) throws CryptExceptionThe cryptCreateCert function is used to create a certificate object that contains a certificate- Parameters:
cryptUser- The user who is to own the certificate object or CRYPT_UNUSED for the default, normal user.certType- The type of certificate item that will be created in the certificate object.- Returns:
- The address of the certificate object to be created.
- Throws:
CryptException- This exception returns an integer status code and a string error message
-
DestroyCert
public static void DestroyCert(int certificate) throws CryptExceptionThe cryptDestroyCert function is used to destroy a certificate object after use. This erases all keying and security information used by the object and frees up any memory it uses.- Parameters:
certificate- The certificate object to be destroyed.- Throws:
CryptException- This exception returns an integer status code and a string error message
-
GetCertExtension
public static int GetCertExtension(int certificate, java.lang.String oid, java.nio.ByteBuffer extension, int extensionOffset, int extensionMaxLength) throws CryptExceptionThe cryptGetCertExtension function is used to obtain a generic blob-type certificate extension from a certificate object or public or private key with an attached certificate.Remarks: cryptlib directly supports extensions from X.509, PKIX, SET, SigG, and various vendors itself, so you shouldn’t use this function for anything other than unknown, proprietary extensions.
- Parameters:
certificate- The certificate or public/private key object from which to read the extension.oid- The object identifier value for the extension being queried, specified as a sequence of integers.extension- The address of a buffer to contain the data. If you set this parameter to null, cryptGetCertExtension will return the length of the data in extensionLength without returning the data itself.extensionMaxLength- The maximum size in bytes of the buffer to contain the extension data.- Returns:
- The length in bytes of the extension data.
- Throws:
CryptException- This exception returns an integer status code and a string error message
-
GetCertExtension
public static int GetCertExtension(int certificate, java.lang.String oid, byte[] extension, int extensionOffset, int extensionMaxLength) throws CryptException- Throws:
CryptException
-
GetCertExtension
public static int GetCertExtension(int certificate, java.lang.String oid, java.nio.ByteBuffer extension, int extensionMaxLength) throws CryptException- Throws:
CryptException
-
GetCertExtension
public static int GetCertExtension(int certificate, java.lang.String oid, byte[] extension, int extensionMaxLength) throws CryptException- Throws:
CryptException
-
AddCertExtension
public static void AddCertExtension(int certificate, java.lang.String oid, int criticalFlag, java.nio.ByteBuffer extension, int extensionOffset, int extensionLength) throws CryptExceptionThe cryptAddCertExtension function is used to add a generic blob-type certificate extension to a certificate object.Remarks: cryptlib directly supports extensions from X.509, PKIX, SET, SigG, and various vendors itself, so you shouldn’t use this function for anything other than unknown, proprietary extensions.
- Parameters:
certificate- The certificate object to which to add the extension.oid- The object identifier value for the extension being added, specified as a sequence of integerscriticalFlag- The critical flag for the extension being added.extension- The address of the extension data.extensionLength- The length in bytes of the extension data.- Throws:
CryptException- This exception returns an integer status code and a string error message
-
AddCertExtension
public static void AddCertExtension(int certificate, java.lang.String oid, int criticalFlag, byte[] extension, int extensionOffset, int extensionLength) throws CryptException- Throws:
CryptException
-
AddCertExtension
public static void AddCertExtension(int certificate, java.lang.String oid, int criticalFlag, java.nio.ByteBuffer extension) throws CryptException- Throws:
CryptException
-
AddCertExtension
public static void AddCertExtension(int certificate, java.lang.String oid, int criticalFlag, byte[] extension) throws CryptException- Throws:
CryptException
-
AddCertExtension
public static void AddCertExtension(int certificate, java.lang.String oid, int criticalFlag, java.lang.String extension) throws CryptException- Throws:
CryptException
-
DeleteCertExtension
public static void DeleteCertExtension(int certificate, java.lang.String oid) throws CryptExceptionThe cryptDeleteCertExtension function is used to delete a generic blob-type certificate extension from a certificate object.Remarks: cryptlib directly supports extensions from X.509, PKIX, SET, SigG, and various vendors itself, so you shouldn’t use this function for anything other than unknown, proprietary extensions.
- Parameters:
certificate- The certificate object from which to delete the extension.oid- The object identifier value for the extension being deleted, specified as a sequence of integers.- Throws:
CryptException- This exception returns an integer status code and a string error message
-
SignCert
public static void SignCert(int certificate, int signContext) throws CryptExceptionThe cryptSignCert function is used to digitally sign a public key certificate, CA certificate, certification request, CRL, or other certificate-related item held in a certificate container object.Remarks: Once a certificate item has been signed, it can no longer be modified or updated using the usual certificate manipulation functions. If you want to add further data to the certificate item, you have to start again with a new certificate object.
- Parameters:
certificate- The certificate container object that contains the certificate item to sign.signContext- A public-key encryption or signature context containing the private key used to sign the certificate.- Throws:
CryptException- This exception returns an integer status code and a string error message
-
CheckCert
public static void CheckCert(int certificate, int sigCheckKey) throws CryptExceptionThe cryptCheckCert function is used to check the signature on a certificate object, or to verify a certificate object against a CRL or a keyset containing a CRL.- Parameters:
certificate- The certificate container object that contains the certificate item to check.sigCheckKey- A public-key context or key certificate object containing the public key used to verify the signature, or alternatively CRYPT_UNUSED if the certificate item is self-signed. If the certificate is to be verified against a CRL, this should be a certificate object or keyset containing the CRL. If the certificate is to be verified online, this should be a session object for the server used to verify the certificate.- Throws:
CryptException- This exception returns an integer status code and a string error message
-
ImportCert
public static int ImportCert(java.nio.ByteBuffer certObject, int certObjectOffset, int certObjectLength, int cryptUser) throws CryptExceptionThe cryptImportCert function is used to import an encoded certificate, certification request, CRL, or other certificate-related item into a certificate container object.- Parameters:
certObject- The address of a buffer that contains the encoded certificate.certObjectLength- The encoded certificate length.cryptUser- The user who is to own the imported object or CRYPT_UNUSED for the default, normal user.- Returns:
- The certificate object to be created using the imported certificate data.
- Throws:
CryptException- This exception returns an integer status code and a string error message
-
ImportCert
public static int ImportCert(byte[] certObject, int certObjectOffset, int certObjectLength, int cryptUser) throws CryptException- Throws:
CryptException
-
ImportCert
public static int ImportCert(java.nio.ByteBuffer certObject, int cryptUser) throws CryptException- Throws:
CryptException
-
ImportCert
public static int ImportCert(byte[] certObject, int cryptUser) throws CryptException- Throws:
CryptException
-
ImportCert
public static int ImportCert(java.lang.String certObject, int cryptUser) throws CryptException- Throws:
CryptException
-
ExportCert
public static int ExportCert(java.nio.ByteBuffer certObject, int certObjectOffset, int certObjectMaxLength, int certFormatType, int certificate) throws CryptExceptionThe cryptExportCert function is used to export an encoded signed public key certificate, certification request, CRL, or other certificate-related item from a certificate container object.Remarks: The certificate object needs to have all the required fields filled in and must then be signed using cryptSignCert before it can be exported.
- Parameters:
certObject- The address of a buffer to contain the encoded certificate.certObjectMaxLength- The maximum size in bytes of the buffer to contain the exported certificate.certFormatType- The encoding format for the exported certificate object.certificate- The address of the certificate object to be exported.- Returns:
- The address of the exported certificate length.
- Throws:
CryptException- This exception returns an integer status code and a string error message
-
ExportCert
public static int ExportCert(byte[] certObject, int certObjectOffset, int certObjectMaxLength, int certFormatType, int certificate) throws CryptException- Throws:
CryptException
-
ExportCert
public static int ExportCert(java.nio.ByteBuffer certObject, int certObjectMaxLength, int certFormatType, int certificate) throws CryptException- Throws:
CryptException
-
ExportCert
public static int ExportCert(byte[] certObject, int certObjectMaxLength, int certFormatType, int certificate) throws CryptException- Throws:
CryptException
-
CAAddItem
public static void CAAddItem(int keyset, int certificate) throws CryptExceptionThe cryptCAAddItem function is used to add a certificate object to a certificate store. cryptAddPublicKey is used to add standard certificates, this CA-specific function can be used by CAs to add special items such as certificate requests and PKI user information.- Parameters:
keyset- The certificate store to which the item will be added.certificate- The item to add to the certificate store.- Throws:
CryptException- This exception returns an integer status code and a string error message
-
CAGetItem
public static int CAGetItem(int keyset, int certType, int keyIDtype, java.lang.String keyID) throws CryptExceptionThe cryptCAGetItem function is used to read a certificate object from a certificate store. cryptGetPublicKey is used to read standard certificates, this CA-specific function can be used by CAs to obtain special items such as certificate requests and PKI user information. The item to be fetched is identified either through the key owner’s name or their email address.- Parameters:
keyset- The certificate store from which to obtain the item.certType- The item type.keyIDtype- The type of the key ID, either CRYPT_KEYID_NAME for the name or key label, or CRYPT_KEYID_EMAIL for the email address.keyID- The key ID of the item to read.- Returns:
- The address of the certificate object to be fetched.
- Throws:
CryptException- This exception returns an integer status code and a string error message
-
CADeleteItem
public static void CADeleteItem(int keyset, int certType, int keyIDtype, java.lang.String keyID) throws CryptExceptionno function comment avaiilable- Throws:
CryptException- This exception returns an integer status code and a string error message
-
CACertManagement
public static int CACertManagement(int action, int keyset, int caKey, int certRequest) throws CryptExceptionThe cryptCACertManagement function is used to perform a CA certificate management operation such as a certificate issue, revocation, CRL issue, certificate expiry, or other operation with a certificate store.- Parameters:
action- The certificate management operation to perform.keyset- The certificate store to use to perform the action.caKey- The CA key to use when performing the action, or CRYPT_UNUSED if no key is necessary for this action.certRequest- The certificate request to use when performing the action, or CRYPT_UNUSED if no request is necessary for this action.- Returns:
- The address of the certificate object to be created.
- Throws:
CryptException- This exception returns an integer status code and a string error message
-
CreateEnvelope
public static int CreateEnvelope(int cryptUser, int formatType) throws CryptExceptionThe cryptCreateEnvelope function is used to create an envelope object for encrypting or decrypting, signing or signature checking, compressing or decompressing, or otherwise processing data.- Parameters:
cryptUser- The user who is to own the envelope object or CRYPT_UNUSED for the default, normal user.formatType- The data format for the enveloped data.- Returns:
- The address of the envelope to be created.
- Throws:
CryptException- This exception returns an integer status code and a string error message
-
DestroyEnvelope
public static void DestroyEnvelope(int envelope) throws CryptExceptionThe cryptDestroyEnvelope function is used to destroy an envelope after use. This erases all keying and security information used by the envelope and frees up any memory it uses.- Parameters:
envelope- The envelope to be destroyed.- Throws:
CryptException- This exception returns an integer status code and a string error message
-
CreateSession
public static int CreateSession(int cryptUser, int formatType) throws CryptExceptionThe cryptCreateSession function is used to create a secure session object for use in securing a communications link or otherwise communicating with a remote server or client.- Parameters:
cryptUser- The user who is to own the session object or CRYPT_UNUSED for the default, normal user.formatType- The type of the secure session.- Returns:
- The address of the session to be created.
- Throws:
CryptException- This exception returns an integer status code and a string error message
-
DestroySession
public static void DestroySession(int session) throws CryptExceptionThe cryptDestroySession function is used to destroy a session object after use. This close the link to the client or server, erases all keying and security information used by the session, and frees up any memory it uses.- Parameters:
session- The session to be destroyed.- Throws:
CryptException- This exception returns an integer status code and a string error message
-
PushData
public static int PushData(int envelope, java.nio.ByteBuffer buffer, int bufferOffset, int length) throws CryptExceptionThe cryptPushData function is used to add data to an envelope or session object.- Parameters:
envelope- The envelope or session object to which to add the data.buffer- The address of the data to add.length- The length of the data to add.- Returns:
- bytesCopied The address of the number of bytes copied into the envelope.
- Throws:
CryptException- This exception returns an integer status code and a string error message
-
PushData
public static int PushData(int envelope, byte[] buffer, int bufferOffset, int length) throws CryptException- Throws:
CryptException
-
PushData
public static int PushData(int envelope, java.nio.ByteBuffer buffer) throws CryptException- Throws:
CryptException
-
PushData
public static int PushData(int envelope, byte[] buffer) throws CryptException- Throws:
CryptException
-
PushData
public static int PushData(int envelope, java.lang.String buffer) throws CryptException- Throws:
CryptException
-
FlushData
public static void FlushData(int envelope) throws CryptExceptionThe cryptFlushData function is used to flush data through an envelope or session object, completing processing and (for session objects) sending the data to the remote client or server.- Parameters:
envelope- The envelope or session object to flush the data through.- Throws:
CryptException- This exception returns an integer status code and a string error message
-
PopData
public static int PopData(int envelope, java.nio.ByteBuffer buffer, int bufferOffset, int length) throws CryptExceptionThe cryptPopData function is used to remove data from an envelope or session object.- Parameters:
envelope- The envelope or session object from which to remove the data.buffer- The address of the data to remove.length- The length of the data to remove.- Returns:
- bytesCopied The address of the number of bytes copied from the envelope.
- Throws:
CryptException- This exception returns an integer status code and a string error message
-
PopData
public static int PopData(int envelope, byte[] buffer, int bufferOffset, int length) throws CryptException- Throws:
CryptException
-
PopData
public static int PopData(int envelope, java.nio.ByteBuffer buffer, int length) throws CryptException- Throws:
CryptException
-
PopData
public static int PopData(int envelope, byte[] buffer, int length) throws CryptException- Throws:
CryptException
-
DeviceOpen
public static int DeviceOpen(int cryptUser, int deviceType, java.lang.String name) throws CryptExceptionThe cryptDeviceOpen function is used to establish a connection to a crypto device such as a crypto hardware accelerator or a PCMCIA card or smart card.- Parameters:
cryptUser- The address of the device object to be created.deviceType- The device type to be used.name- The user who is to own the device object or CRYPT_UNUSED for the default, normal user.- Returns:
- The address of the device object to be created.
- Throws:
CryptException- This exception returns an integer status code and a string error message
-
DeviceClose
public static void DeviceClose(int device) throws CryptExceptionThe cryptDeviceClose function is used to destroy a device object after use. This closes the connection to the device and frees up any memory it uses.- Parameters:
device- The device object to be destroyed.- Throws:
CryptException- This exception returns an integer status code and a string error message
-
DeviceQueryCapability
public static CRYPT_QUERY_INFO DeviceQueryCapability(int device, int cryptAlgo) throws CryptException
The cryptDeviceQueryCapability function is used to obtain information about the characteristics of a particular encryption algorithm provided by an encryption device. The information returned covers the algorithm’s key size, data block size, and other algorithm-specific information.Remarks: Any fields in the CRYPT_QUERY_INFO structure that don’t apply to the algorithm being queried are set to CRYPT_ERROR, null or zero as appropriate. To determine whether an algorithm is available (without returning information on them), set the query information pointer to null.
- Parameters:
device- The encryption device to be queried.cryptAlgo- The encryption algorithm to be queried.- Returns:
- The address of a CRYPT_QUERY_INFO structure which is filled with the information on the requested algorithm and mode, or null if this information isn’t required.
- Throws:
CryptException- This exception returns an integer status code and a string error message
-
DeviceCreateContext
public static int DeviceCreateContext(int device, int cryptAlgo) throws CryptExceptionThe cryptDeviceCreateContext function is used to create an encryption context for a given encryption algorithm via an encryption device.- Parameters:
device- The device object used to create the encryption context.cryptAlgo- The encryption algorithm to be used in the context.- Returns:
- The address of the encryption context to be created.
- Throws:
CryptException- This exception returns an integer status code and a string error message
-
Login
public static int Login(java.lang.String name, java.lang.String password) throws CryptExceptionLog on / create a user object- Parameters:
name- the user’s IDpassword- secret login password- Returns:
- The address of the user login
- Throws:
CryptException- This exception returns an integer status code and a string error message
-
Logout
public static void Logout(int user) throws CryptExceptionLog out / destroy a user object- Parameters:
user- The address for the user as generated by Login()- Throws:
CryptException- This exception returns an integer status code and a string error message
-
-