pkijs
Type Aliases
AccessDescriptionParameters
AccessDescriptionParameters:
PkiObjectParameters
&Partial
<IAccessDescription
>
AccuracyParameters
AccuracyParameters:
PkiObjectParameters
&Partial
<IAccuracy
>
AccuracySchema
AccuracySchema:
SchemaParameters
<object
>
Type declaration
micros?
optional
micros:string
millis?
optional
millis:string
seconds?
optional
seconds:string
AlgorithmIdentifierParameters
AlgorithmIdentifierParameters:
PkiObjectParameters
&Partial
<IAlgorithmIdentifier
>
AlgorithmIdentifierSchema
AlgorithmIdentifierSchema:
SchemaParameters
<object
>
Type declaration
algorithmIdentifier?
optional
algorithmIdentifier:string
algorithmParams?
optional
algorithmParams:string
AltNameParameters
AltNameParameters:
PkiObjectParameters
&Partial
<IAltName
>
ArgumentType
ArgumentType:
"undefined"
|"null"
|"boolean"
|"number"
|"string"
|"object"
|"Array"
|"ArrayBuffer"
|"ArrayBufferView"
|AnyConstructor
AttCertValidityPeriodParameters
AttCertValidityPeriodParameters:
PkiObjectParameters
&Partial
<IAttCertValidityPeriod
>
AttCertValidityPeriodSchema
AttCertValidityPeriodSchema:
SchemaParameters
<object
>
Type declaration
notAfterTime?
optional
notAfterTime:string
notBeforeTime?
optional
notBeforeTime:string
AttributeCertificateInfoV1Parameters
AttributeCertificateInfoV1Parameters:
PkiObjectParameters
&Partial
<IAttributeCertificateInfoV1
>
AttributeCertificateInfoV1Schema
AttributeCertificateInfoV1Schema:
SchemaParameters
<object
>
Type declaration
attrCertValidityPeriod?
optional
attrCertValidityPeriod:AttCertValidityPeriodSchema
attributes?
optional
attributes:string
baseCertificateID?
optional
baseCertificateID:string
extensions?
optional
extensions:ExtensionsSchema
issuer?
optional
issuer:string
issuerUniqueID?
optional
issuerUniqueID:string
serialNumber?
optional
serialNumber:string
signature?
optional
signature:AlgorithmIdentifierSchema
subjectName?
optional
subjectName:string
version?
optional
version:string
AttributeCertificateInfoV2Parameters
AttributeCertificateInfoV2Parameters:
PkiObjectParameters
&Partial
<AttributeCertificateInfoV2
>
AttributeCertificateInfoV2Schema
AttributeCertificateInfoV2Schema:
SchemaParameters
<object
>
Type declaration
attrCertValidityPeriod?
optional
attrCertValidityPeriod:AttCertValidityPeriodSchema
attributes?
optional
attributes:string
extensions?
optional
extensions:ExtensionsSchema
holder?
optional
holder:HolderSchema
issuer?
optional
issuer:string
issuerUniqueID?
optional
issuerUniqueID:string
serialNumber?
optional
serialNumber:string
signature?
optional
signature:AlgorithmIdentifierSchema
version?
optional
version:string
AttributeCertificateV1Parameters
AttributeCertificateV1Parameters:
PkiObjectParameters
&Partial
<IAttributeCertificateV1
>
AttributeCertificateV2Parameters
AttributeCertificateV2Parameters:
PkiObjectParameters
&Partial
<IAttributeCertificateV2
>
AttributeParameters
AttributeParameters:
PkiObjectParameters
&Partial
<IAttribute
>
AttributeSchema
AttributeSchema:
SchemaParameters
<object
>
Type declaration
setName?
optional
setName:string
type?
optional
type:string
values?
optional
values:string
AttributeTypeAndValueParameters
AttributeTypeAndValueParameters:
PkiObjectParameters
&Partial
<IAttributeTypeAndValue
>
AttributeValueType
AttributeValueType:
asn1js.Utf8String
|asn1js.BmpString
|asn1js.UniversalString
|asn1js.NumericString
|asn1js.PrintableString
|asn1js.TeletexString
|asn1js.VideotexString
|asn1js.IA5String
|asn1js.GraphicString
|asn1js.VisibleString
|asn1js.GeneralString
|asn1js.CharacterString
AuthenticatedSafeParameters
AuthenticatedSafeParameters:
PkiObjectParameters
&Partial
<IAuthenticatedSafe
>
AuthorityKeyIdentifierParameters
AuthorityKeyIdentifierParameters:
PkiObjectParameters
&Partial
<IAuthorityKeyIdentifier
>
BagType
BagType:
PrivateKeyInfo
|PKCS8ShroudedKeyBag
|CertBag
|CRLBag
|SecretBag
|SafeContents
BagTypeJson
BagTypeJson:
PrivateKeyInfoJson
|JsonWebKey
|PKCS8ShroudedKeyBagJson
|CertBagJson
|CRLBagJson
|SecretBagJson
|SafeContentsJson
BasicConstraintsParameters
BasicConstraintsParameters:
PkiObjectParameters
&Partial
<IBasicConstraints
>
BasicOCSPResponseParameters
BasicOCSPResponseParameters:
PkiObjectParameters
&Partial
<IBasicOCSPResponse
>
CAVersionParameters
CAVersionParameters:
PkiObjectParameters
&Partial
<ICAVersion
>
CertBagParameters
CertBagParameters:
PkiObjectParameters
&Partial
<ICertBag
>
CertIDParameters
CertIDParameters:
PkiObjectParameters
&Partial
<ICertID
>
CertIDSchema
CertIDSchema:
SchemaParameters
<object
>
Type declaration
hashAlgorithm?
optional
hashAlgorithm:string
hashAlgorithmObject?
optional
hashAlgorithmObject:AlgorithmIdentifierSchema
issuerKeyHash?
optional
issuerKeyHash:string
issuerNameHash?
optional
issuerNameHash:string
serialNumber?
optional
serialNumber:string
CertificateParameters
CertificateParameters:
PkiObjectParameters
&Partial
<ICertificate
>
Constructor parameters for the Certificate class
CertificatePoliciesParameters
CertificatePoliciesParameters:
PkiObjectParameters
&Partial
<ICertificatePolicies
>
CertificateRevocationListParameters
CertificateRevocationListParameters:
PkiObjectParameters
&Partial
<ICertificateRevocationList
>
CertificateSchema
CertificateSchema:
SchemaParameters
<object
>
Parameters for Certificate schema generation
Type declaration
signatureAlgorithm?
optional
signatureAlgorithm:AlgorithmIdentifierSchema
signatureValue?
optional
signatureValue:string
tbsCertificate?
optional
tbsCertificate:TBSCertificateSchema
CertificateSetItem
CertificateSetItem:
Certificate
|AttributeCertificateV1
|AttributeCertificateV2
|OtherCertificateFormat
CertificateSetItemJson
CertificateSetItemJson:
CertificateJson
|AttributeCertificateV1Json
|AttributeCertificateV2Json
|OtherCertificateFormatJson
CertificateSetParameters
CertificateSetParameters:
PkiObjectParameters
&Partial
<ICertificateSet
>
CertificateTemplateParameters
CertificateTemplateParameters:
PkiObjectParameters
&Partial
<ICertificateTemplate
>
CertificationRequestParameters
CertificationRequestParameters:
PkiObjectParameters
&Partial
<ICertificationRequest
>
ContentEncryptionAesCbcParams
ContentEncryptionAesCbcParams:
AesCbcParams
&AesDerivedKeyParams
ContentEncryptionAesGcmParams
ContentEncryptionAesGcmParams:
AesGcmParams
&AesDerivedKeyParams
ContentEncryptionAlgorithm
ContentEncryptionAlgorithm:
ContentEncryptionAesCbcParams
|ContentEncryptionAesGcmParams
ContentInfoParameters
ContentInfoParameters:
PkiObjectParameters
&Partial
<IContentInfo
>
ContentInfoSchema
ContentInfoSchema:
SchemaParameters
<object
>
Type declaration
content?
optional
content:string
contentType?
optional
contentType:string
CRLBagParameters
CRLBagParameters:
PkiObjectParameters
&Partial
<ICRLBag
>
CRLDistributionPointsParameters
CRLDistributionPointsParameters:
PkiObjectParameters
&Partial
<ICRLDistributionPoints
>
CryptoEngineAlgorithmOperation
CryptoEngineAlgorithmOperation:
"sign"
|"encrypt"
|"generateKey"
|"importKey"
|"exportKey"
|"verify"
DigestInfoParameters
DigestInfoParameters:
PkiObjectParameters
&Partial
<IDigestInfo
>
DigestInfoSchema
DigestInfoSchema:
SchemaParameters
<object
>
Type declaration
digest?
optional
digest:string
digestAlgorithm?
optional
digestAlgorithm:AlgorithmIdentifierSchema
DistributionPointName
DistributionPointName:
GeneralName
[] |RelativeDistinguishedNames
DistributionPointNameJson
DistributionPointNameJson:
GeneralNameJson
[] |RelativeDistinguishedNamesJson
DistributionPointParameters
DistributionPointParameters:
PkiObjectParameters
&Partial
<IDistributionPoint
>
ECCCMSSharedInfoParameters
ECCCMSSharedInfoParameters:
PkiObjectParameters
&Partial
<IECCCMSSharedInfo
>
ECPrivateKeyParameters
ECPrivateKeyParameters:
PkiObjectParameters
&Partial
<IECPrivateKey
> &object
Type declaration
json?
optional
json:ECPrivateKeyJson
ECPublicKeyParameters
ECPublicKeyParameters:
PkiObjectParameters
&Partial
<IECPublicKey
> &object
Type declaration
json?
optional
json:ECPublicKeyJson
EncapsulatedContentInfoParameters
EncapsulatedContentInfoParameters:
PkiObjectParameters
&Partial
<IEncapsulatedContentInfo
>
EncapsulatedContentInfoSchema
EncapsulatedContentInfoSchema:
SchemaParameters
<object
>
Type declaration
eContent?
optional
eContent:string
eContentType?
optional
eContentType:string
EncryptedContentInfoSchema
EncryptedContentInfoSchema:
SchemaParameters
<object
>
Type declaration
contentEncryptionAlgorithm?
optional
contentEncryptionAlgorithm:AlgorithmIdentifierSchema
contentType?
optional
contentType:string
encryptedContent?
optional
encryptedContent:string
EncryptedContentParameters
EncryptedContentParameters:
PkiObjectParameters
&Partial
<IEncryptedContentInfo
> &EncryptedContentInfoSplit
EncryptedDataEncryptParams
EncryptedDataEncryptParams:
Omit
<CryptoEngineEncryptParams
,"contentType"
>
EncryptedDataParameters
EncryptedDataParameters:
PkiObjectParameters
&Partial
<IEncryptedData
>
EnvelopedDataDecryptParams
EnvelopedDataDecryptParams:
EnvelopedDataDecryptBufferParams
|EnvelopedDataDecryptKeyParams
EnvelopedDataParameters
EnvelopedDataParameters:
PkiObjectParameters
&Partial
<IEnvelopedData
> &EncryptedContentInfoSplit
ExtensionParameters
ExtensionParameters:
PkiObjectParameters
&ExtensionConstructorParameters
ExtensionParsedValue
ExtensionParsedValue:
SchemaCompatible
&object
|SchemaType
ExtensionSchema
ExtensionSchema:
SchemaParameters
<object
>
Type declaration
critical?
optional
critical:string
extnID?
optional
extnID:string
extnValue?
optional
extnValue:string
ExtensionsParameters
ExtensionsParameters:
PkiObjectParameters
&Partial
<IExtensions
>
ExtensionsSchema
ExtensionsSchema:
SchemaParameters
<object
>
Type declaration
extension?
optional
extension:ExtensionSchema
extensions?
optional
extensions:string
ExtKeyUsageParameters
ExtKeyUsageParameters:
PkiObjectParameters
&Partial
<IExtKeyUsage
>
FindIssuerCallback()
FindIssuerCallback: (
certificate
,validationEngine
,crypto
?) =>Promise
<Certificate
[]>
Parameters
• certificate: Certificate
• validationEngine: CertificateChainValidationEngine
• crypto?: ICryptoEngine
Returns
Promise
<Certificate
[]>
FindOriginCallback()
FindOriginCallback: (
certificate
,validationEngine
) =>string
Parameters
• certificate: Certificate
• validationEngine: CertificateChainValidationEngine
Returns
string
GeneralNameParameters
GeneralNameParameters:
PkiObjectParameters
&Partial
<object
|object
>
GeneralNamesParameters
GeneralNamesParameters:
PkiObjectParameters
&Partial
<IGeneralNames
>
GeneralNamesSchema
GeneralNamesSchema:
SchemaParameters
<object
>
Type declaration
generalNames?
optional
generalNames:string
GeneralSubtreeParameters
GeneralSubtreeParameters:
PkiObjectParameters
&Partial
<IGeneralSubtree
>
HolderParameters
HolderParameters:
PkiObjectParameters
&Partial
<IHolder
>
HolderSchema
HolderSchema:
SchemaParameters
<object
>
Type declaration
baseCertificateID?
optional
baseCertificateID:string
entityName?
optional
entityName:string
objectDigestInfo?
optional
objectDigestInfo:string
InfoAccessParameters
InfoAccessParameters:
PkiObjectParameters
&Partial
<IInfoAccess
>
IssuerAndSerialNumberParameters
IssuerAndSerialNumberParameters:
PkiObjectParameters
&Partial
<IIssuerAndSerialNumber
>
IssuerAndSerialNumberSchema
IssuerAndSerialNumberSchema:
SchemaParameters
<object
>
Type declaration
issuer?
optional
issuer:RelativeDistinguishedNamesSchema
serialNumber?
optional
serialNumber:string
IssuerSerialParameters
IssuerSerialParameters:
PkiObjectParameters
&Partial
<IIssuerSerial
>
IssuingDistributionPointParameters
IssuingDistributionPointParameters:
PkiObjectParameters
&Partial
<IIssuingDistributionPoint
>
KEKIdentifierParameters
KEKIdentifierParameters:
PkiObjectParameters
&Partial
<IKEKIdentifier
>
KEKIdentifierSchema
KEKIdentifierSchema:
SchemaParameters
<object
>
Type declaration
date?
optional
date:string
keyIdentifier?
optional
keyIdentifier:string
other?
optional
other:OtherKeyAttributeSchema
KEKRecipientInfoParameters
KEKRecipientInfoParameters:
PkiObjectParameters
&Partial
<IKEKRecipientInfo
>
KeyAgreeRecipientIdentifierParameters
KeyAgreeRecipientIdentifierParameters:
PkiObjectParameters
&Partial
<IKeyAgreeRecipientIdentifier
>
KeyAgreeRecipientIdentifierSchema
KeyAgreeRecipientIdentifierSchema:
SchemaParameters
<object
>
Type declaration
issuerAndSerialNumber?
optional
issuerAndSerialNumber:IssuerAndSerialNumberSchema
rKeyId?
optional
rKeyId:RecipientKeyIdentifierSchema
KeyAgreeRecipientInfoParameters
KeyAgreeRecipientInfoParameters:
PkiObjectParameters
&Partial
<IKeyAgreeRecipientInfo
>
KeyTransRecipientInfoParameters
KeyTransRecipientInfoParameters:
PkiObjectParameters
&Partial
<IKeyTransRecipientInfo
>
MacDataParameters
MacDataParameters:
PkiObjectParameters
&Partial
<IMacData
>
MacDataSchema
MacDataSchema:
SchemaParameters
<object
>
Type declaration
iterations?
optional
iterations:string
mac?
optional
mac:DigestInfoSchema
macSalt?
optional
macSalt:string
MakeInternalValuesParams
MakeInternalValuesParams:
object
|object
|object
MessageImprintParameters
MessageImprintParameters:
PkiObjectParameters
&Partial
<IMessageImprint
>
MessageImprintSchema
MessageImprintSchema:
SchemaParameters
<object
>
Type declaration
hashAlgorithm?
optional
hashAlgorithm:AlgorithmIdentifierSchema
hashedMessage?
optional
hashedMessage:string
NameConstraintsParameters
NameConstraintsParameters:
PkiObjectParameters
&Partial
<INameConstraints
>
ObjectDigestInfoParameters
ObjectDigestInfoParameters:
PkiObjectParameters
&Partial
<IObjectDigestInfo
>
OCSPRequestParameters
OCSPRequestParameters:
PkiObjectParameters
&Partial
<IOCSPRequest
>
OCSPResponseParameters
OCSPResponseParameters:
PkiObjectParameters
&Partial
<IOCSPResponse
>
OriginatorIdentifierOrKeyParameters
OriginatorIdentifierOrKeyParameters:
PkiObjectParameters
&Partial
<IOriginatorIdentifierOrKey
>
OriginatorIdentifierOrKeySchema
OriginatorIdentifierOrKeySchema:
SchemaParameters
OriginatorInfoParameters
OriginatorInfoParameters:
PkiObjectParameters
&Partial
<IOriginatorInfo
>
OriginatorPublicKeyParameters
OriginatorPublicKeyParameters:
PkiObjectParameters
&Partial
<IOriginatorPublicKey
>
OtherCertificateFormatParameters
OtherCertificateFormatParameters:
PkiObjectParameters
&Partial
<IOtherCertificateFormat
>
OtherKeyAttributeParameters
OtherKeyAttributeParameters:
PkiObjectParameters
&Partial
<IOtherKeyAttribute
>
OtherKeyAttributeSchema
OtherKeyAttributeSchema:
SchemaType
OtherPrimeInfoParameters
OtherPrimeInfoParameters:
PkiObjectParameters
&Partial
<IOtherPrimeInfo
> &object
Type declaration
json?
optional
json:OtherPrimeInfoJson
OtherPrimeInfoSchema
OtherPrimeInfoSchema:
SchemaParameters
<object
>
Type declaration
coefficient?
optional
coefficient:string
exponent?
optional
exponent:string
prime?
optional
prime:string
OtherRecipientInfoParameters
OtherRecipientInfoParameters:
PkiObjectParameters
&Partial
<IOtherRecipientInfo
>
OtherRevocationInfoFormatParameters
OtherRevocationInfoFormatParameters:
PkiObjectParameters
&Partial
<IOtherRevocationInfoFormat
>
PasswordRecipientinfoParameters
PasswordRecipientinfoParameters:
PkiObjectParameters
&Partial
<IPasswordRecipientInfo
>
PBES2ParamsParameters
PBES2ParamsParameters:
PkiObjectParameters
&Partial
<IPBES2Params
>
PBKDF2ParamsParameters
PBKDF2ParamsParameters:
PkiObjectParameters
&Partial
<IPBKDF2Params
>
PFXParameters
PFXParameters:
PkiObjectParameters
&Partial
<IPFX
>
PKCS8ShroudedKeyBagParameters
PKCS8ShroudedKeyBagParameters:
PkiObjectParameters
&Partial
<IPKCS8ShroudedKeyBag
>
PKIStatusInfoParameters
PKIStatusInfoParameters:
PkiObjectParameters
&Partial
<IPKIStatusInfo
>
PKIStatusInfoSchema
PKIStatusInfoSchema:
SchemaParameters
<object
>
Type declaration
failInfo?
optional
failInfo:string
status?
optional
status:string
statusStrings?
optional
statusStrings:string
PolicyConstraintsParameters
PolicyConstraintsParameters:
PkiObjectParameters
&Partial
<IPolicyConstraints
>
PolicyInformationParameters
PolicyInformationParameters:
PkiObjectParameters
&Partial
<IPolicyInformation
>
PolicyMappingParameters
PolicyMappingParameters:
PkiObjectParameters
&Partial
<IPolicyMapping
>
PolicyMappingsParameters
PolicyMappingsParameters:
PkiObjectParameters
&Partial
<IPolicyMappings
>
PolicyQualifierInfoParameters
PolicyQualifierInfoParameters:
PkiObjectParameters
&Partial
<IPolicyQualifierInfo
>
PrivateKeyInfoParameters
PrivateKeyInfoParameters:
PkiObjectParameters
&Partial
<IPrivateKeyInfo
> &object
Type declaration
json?
optional
json:JsonWebKey
PrivateKeyUsagePeriodParameters
PrivateKeyUsagePeriodParameters:
PkiObjectParameters
&Partial
<IPrivateKeyUsagePeriod
>
PublicKeyInfoParameters
PublicKeyInfoParameters:
PkiObjectParameters
&Partial
<IPublicKeyInfo
> &object
Type declaration
json?
optional
json:JsonWebKey
PublicKeyInfoSchema
PublicKeyInfoSchema:
SchemaParameters
<object
>
Type declaration
algorithm?
optional
algorithm:AlgorithmIdentifierSchema
subjectPublicKey?
optional
subjectPublicKey:string
QCStatementParameters
QCStatementParameters:
PkiObjectParameters
&Partial
<IQCStatement
>
QCStatementSchema
QCStatementSchema:
SchemaParameters
<object
>
Type declaration
id?
optional
id:string
type?
optional
type:string
QCStatementsParameters
QCStatementsParameters:
PkiObjectParameters
&Partial
<IQCStatements
>
RecipientEncryptedKeyParameters
RecipientEncryptedKeyParameters:
PkiObjectParameters
&Partial
<IRecipientEncryptedKey
>
RecipientEncryptedKeysParameters
RecipientEncryptedKeysParameters:
PkiObjectParameters
&Partial
<IRecipientEncryptedKeys
>
RecipientEncryptedKeysSchema
RecipientEncryptedKeysSchema:
SchemaParameters
<object
>
Type declaration
RecipientEncryptedKeys?
optional
RecipientEncryptedKeys:string
RecipientIdentifierMixedJson
RecipientIdentifierMixedJson:
IssuerAndSerialNumberJson
|asn1js.OctetStringJson
RecipientIdentifierParameters
RecipientIdentifierParameters:
PkiObjectParameters
&Partial
<IRecipientIdentifier
>
RecipientIdentifierSchema
RecipientIdentifierSchema:
SchemaParameters
RecipientIdentifierType
RecipientIdentifierType:
IssuerAndSerialNumber
|asn1js.OctetString
RecipientInfoParameters
RecipientInfoParameters:
PkiObjectParameters
&Partial
<IRecipientInfo
>
RecipientInfoValue
RecipientInfoValue:
KeyTransRecipientInfo
|KeyAgreeRecipientInfo
|KEKRecipientInfo
|PasswordRecipientinfo
|OtherRecipientInfo
RecipientInfoValueJson
RecipientInfoValueJson:
KeyTransRecipientInfoJson
|KeyAgreeRecipientInfoJson
|KEKRecipientInfoJson
|PasswordRecipientInfoJson
|OtherRecipientInfoJson
RecipientKeyIdentifierParameters
RecipientKeyIdentifierParameters:
PkiObjectParameters
&Partial
<IRecipientKeyIdentifier
>
RecipientKeyIdentifierSchema
RecipientKeyIdentifierSchema:
SchemaParameters
<object
>
Type declaration
date?
optional
date:string
other?
optional
other:OtherKeyAttributeSchema
subjectKeyIdentifier?
optional
subjectKeyIdentifier:string
RelativeDistinguishedNamesParameters
RelativeDistinguishedNamesParameters:
PkiObjectParameters
&Partial
<IRelativeDistinguishedNames
>
RelativeDistinguishedNamesSchema
RelativeDistinguishedNamesSchema:
SchemaParameters
<object
>
Type declaration
repeatedSequence?
optional
repeatedSequence:string
repeatedSet?
optional
repeatedSet:string
typeAndValue?
optional
typeAndValue:SchemaType
RequestParameters
RequestParameters:
PkiObjectParameters
&Partial
<IRequest
>
RequestSchema
RequestSchema:
SchemaParameters
<object
>