jsustoolkitErrCode.js 16 KB

1
  1. (function(){function e(a){a=a.jsustoolkitErrCode=a.jsustoolkitErrCode||{};a["100001"]="DES Key is empty.";a["100002"]="DES Key length is incorrect.";a["100003"]="Plain text is empty.";a["100004"]='DES "start()" function is not called.';a["100005"]="DES IV is empty";a["100006"]="DES IV length is incorrect.";a["100007"]="DES encrypted Data length is incorrect.";a["100011"]="AES Key is empty.";a["100012"]="AES Key length is incorrect.";a["100013"]="Plain text is empty.";a["100014"]='AES "start()" function is not called.';a["100015"]="AES IV is empty";a["100016"]="AES IV length is incorrect.";a["100017"]="AES encrypted Data length is incorrect.";a["100021"]="SEED Key is empty.";a["100022"]="SEED Key length is incorrect.";a["100023"]="Plain text is empty.";a["100024"]='SEED "start()" function is not called.';a["100025"]="SEED IV length is incorrect.";a["100026"]="SEED encrypted Data length is incorrect.";a["100031"]="RC2 Key is empty.";a["100031"]="RC2 Key is empty.";a["100032"]="RC2 Key length is incorrect.";a["100033"]="Plain text is empty.";a["100034"]='RC2 "start()" function is not called.';a["100035"]="RC2 IV is empty";a["100036"]="RC2 IV length is incorrect.";a["100037"]="RC2 encrypted Data length is incorrect.";a["101001"]="Unknown message digest algorithm.";a["101002"]="Message is empty.";a["101003"]="RSA Key is empty.";a["101004"]="bt is empty";a["101005"]="Message is too long to encrypt.";a["101006"]="Enc data is empty.";a["101007"]="RSA Key is empty.";a["101008"]="RSA Key type is empty";a["101009"]="Encrypted message length is invalid.";a["101010"]="Encryption block is invalid.";a["101011"]="Encryption block padding is invalid.";a["101012"]="Encryption block is invalid.";a["101013"]="Encryption block is invalid.(padNum)";a["102001"]="Input data is empty.(SHA1)";a["102002"]='"update()" function is not called.(SHA1)';a["102011"]="Input data is empty.(SHA256)";a["102012"]='"update()" function is not called.(SHA256)';a["102021"]="Input data is empty.(MD5)";a["102022"]='"update()" function is not called.(MD5)';a["103001"]="Hash algorithm name is empty.";a["103002"]="HMAC Key is empty.";a["103003"]="HMAC Key length is incorrect.";a["103004"]="Input data is empty.";a["103005"]='HMAC "start()" function is not called.';a["103006"]="Unknown hash algorithm";a["103007"]="Hash algorithm name type is incorrect.";a["104001"]="Message-Digest Algorithm is empty.";a["104002"]="Message-Digest value is empty.";a["104003"]="Signature value is empty.";a["110001"]="Too few bytes to parse DER.";a["110002"]="Too few bytes to read ASN.1 value.";a["110003"]="ASN.1 length is incorrect.";a["110004"]="Non-constructed ASN.1 object of indefinite length.";a["110005"]="asn1 object is empty.";a["111001"]="Password is empty.";a["111002"]="Salt is empty.";a["111003"]="Iteration count is empty.";a["111004"]="dkLen is empty.";a["111005"]="Derived key is too long.";a["111006"]="PBE OID is empty.";a["111007"]="PBES2-params is empty.";a["111008"]="password is empty.";a["111009"]="Cannot read password-based-encryption algorithm parameters. ASN.1 object is not a supported EncryptedPrivateKeyInfo.";a["111010"]="Cannot read encrypted private key. Unsupported key derivation function OID.";a["111011"]="Cannot read encrypted private key. Unsupported encryption scheme OID.";a["111012"]="PKCS12 PBE OID is empty.";a["111013"]="PKCS12 PBE Params is empty.";a["111014"]="password is empty.";a["111015"]="Cannot read password-based-encryption algorithm parameters. ASN.1 object is not a supported EncryptedPrivateKeyInfo.";a["111016"]="Cannot read PKCS #12 PBE data block. Unsupported OID.";a["111017"]="Cannot read encrypted PBE data block. Unsupported OID.";a["111018"]="Cannot read PBE data block. Unsupported OID.";a["111019"]="PrivatekeyInfo object is empty.";a["111020"]="Cannot read privatekeyInfo.";a["111021"]="RSAPrivateKey object is empty.";a["111022"]="PrivateKeyInfo object is empty.";a["111023"]="Password is empty.";a["111024"]="Cannot encrypt private key. Unknown encryption algorithm.";a["111025"]="Cannot encrypt private key. Unknown encryption algorithm.";a["111026"]="EncryptedPrivateKeyInfo object is empty.";a["111027"]="Password is empty for decrypt.";a["111028"]="Cannot read encrypted private key. ASN.1 object is not a supported EncryptedPrivateKeyInfo.";a["111029"]="EncryptedPrivateKeyInfo is empty.";a["111030"]="EncryptedPrivateKeyInfo is empty.";a["111031"]="PEM-formatted encrypted private key is empty.";a["111032"]="Base64-formatted encrypted private key is empty.";a["111033"]="Cannot read PKCS #12 PBE data block. Unsupported OID.";a["111034"]="Privatekey Password is empty.";a["111035"]="EncryptedPrivateKeyInfo object is empty.";a["111036"]="EncryptedPrivateKeyInfo object is empty.";a["111037"]="Privatekey Password is empty.";a["111038"]="New privatekey Password is empty.";a["111039"]="Unsupported Private Key Type.";a["111040"]="Unsupported Private Key Type.";a["111041"]="EncryptedPrivateKeyInfo object is empty.";a["111042"]="Privatekey Password is empty.";a["111043"]="IDN is empty.";a["111044"]="Certificate is empty.";a["111045"]="R value is empty.";a["112001"]="RDN is empty.";a["112002"]="PEM-formatted data is empty.";a["112003"]="Base64-formatted data is empty.";a["112004"]="Cannot read RSASSA-PSS parameter block.";a["112005"]="PEM-formatted Certificate is empty.";a["112006"]="Base64-formatted Certificate is empty.";a["112007"]="X.509 Certificate is empty.";a["112008"]="X.509 Certificate is empty.";a["112009"]="PEM-formatted Public key is empty.";a["112010"]="Public key is empty.";a["112011"]="PEM-formatted Private key is empty.";a["112012"]="Private key is empty.";a["112013"]="Base64-formatted Public key is empty.";a["112014"]="Public key is empty.";a["112015"]="Base64-formatted Private key is empty.";a["112016"]="Private key is empty.";a["112017"]="Attribute type not specified.";a["112018"]="Attribute value not specified.";a["112019"]="Subject attributes is empty.";a["112020"]="Issuer attributes is empty.";a["112021"]="Extensions is empty.";a["112022"]="Extension ID not specified.";a["112023"]="Extension value not specified.";a["112024"]="Extension option is empty.";a["112025"]="Private key is empty.";a["112026"]="For the verification of the certificate is empty ";a["112027"]="Could not compute certificate digest. Unknown signature OID.";a["112028"]="Unsupported MGF hash function.";a["112029"]="Unsupported MGF function.";a["112030"]="Unsupported RSASSA-PSS hash function.";a["112031"]="Parent Certificate is empty";a["112032"]="X.509v3 RSA certificate is empty";a["112033"]="Cannot read X.509 certificate. ASN.1 object is not an X509v3 Certificate.";a["112034"]="Cannot read public key. OID is not RSA.";a["112035"]="Cannot read notBefore/notAfter validity times; more than two times were provided in the certificate.";a["112036"]="Cannot read notBefore/notAfter validity times; they were not provided as either UTCTime or GeneralizedTime.";a["112037"]="Could not compute certificate digest. Unknown signature OID.";a["112038"]="Subject DN or issuer DN is empty.";a["112039"]="Certificate is empty.(Cert -> ASN.1)";a["112040"]="Certificate is empty (CertChain)";a["112041"]="Trusted certificate is empty.";a["112042"]="Cannot read public key. ASN.1 object is not a SubjectPublicKeyInfo.";a["112043"]="Cannot read public key. Unknown OID.";a["112044"]="Cannot read public key. ASN.1 object is not an RSAPublicKey.";a["112045"]="Public key is empty.(pubKey -> asn.1)";a["112046"]="RSA public key is empty.(pubKey -> asn.1)";a["112047"]="RSA Private key is empty.";a["112048"]="Cannot read private key. ASN.1 object is not an RSAPrivateKey.";a["112049"]="RSA Private Key is empty.(priKey -> asn.1)";a["112050"]="Data is empty.";a["112051"]="Certificate Type is not supported.";a["112052"]="Cannot read certificateRevocationList.";a["112053"]="Cannot read tbsCertRevocationList.";a["112054"]="Does not match the CA certificate and CRL issuer.";a["112055"]="Cannot find signature Algorithm of CRL";a["112056"]="Cannot find signature of CRL";a["1120557"]="Signature OID of CRL is not recognizable";a["113001"]="PEM-formatted PKCS#7 Data is empty.";a["113002"]="PKCS#7 message object is empty.";a["113003"]="Base64-formatted PKCS#7 Data is empty.";a["113004"]="PKCS#7 message object is empty.";a["113005"]="PKCS#7 ContentInfo is empty.";a["113006"]="Cannot read PKCS#7 message. ASN.1 object is not an PKCS#7 ContentInfo.";a["113007"]="Cannot read PKCS#7 message. ContentType is not (yet) supported.";a["113008"]="Cannot read PKCS#7 message. ASN.1 object is not an PKCS#7 EnvelopedData.";a["113009"]="PKCS#7 object is empty.";a["113010"]="ASN.1 representation of the content block is empty.";a["113011"]="ASN.1 structure validator object is empty.";a["113012"]="Cannot read PKCS#7 message. ASN.1 object is not an PKCS#7 EnvelopedData.";a["113013"]="Unsupported PKCS#7 message. Only contentType Data supported within EnvelopedData.";a["113014"]="Malformed PKCS#7 message, expecting encrypted content constructed of only OCTET STRING objects.";a["113015"]="Malformed PKCS#7 message, expecting content constructed of only OCTET STRING objects.";a["113016"]="PKCS#7 EncryptedContent is empty.";a["113017"]="Symmetric key not available.";a["113018"]="Unsupported symmetric cipher, OID ";a["113019"]="Symmetric decryption failed.";a["113020"]="PKCS#7 content msg is empty.";a["113021"]="Unsupported symmetric cipher, OID ";a["113022"]="Symmetric key has wrong length, ";a["113023"]="Symmetric encryption failed.";a["113024"]="SignContentInfo is empty.";a["113025"]="SignContentInfo is empty.";a["113026"]="SignedData Content is empty.";a["113027"]="SignContentInfo not available.";a["113028"]="Certificate is empty.";a["113029"]="PrivatekeyInfo object is empty.";a["113030"]="Privatekey Password is empty.";a["113031"]="EncryptedPrivateKeyInfo object is empty.";a["113032"]="EncryptedData Content is empty.";a["113033"]="PKCS#7 symmetric key is empty.(encrypt)";a["113034"]="PKCS#7 symmetric key is empty.(decrypt)";a["113035"]="EnvelopedData Content is empty.";a["113036"]="Certificate is empty.";a["113037"]="The recipient object is empty.";a["113038"]="The (RSA) private key object is empty.";a["113039"]="Unsupported asymmetric cipher.";a["113040"]="The certificate of the entity to add is empty.";a["113041"]="Unsupported asymmetric cipher";a["113042"]="There is no certificate to verify signature";a["113043"]="There is no data to verify signature";a["114001"]="Base64-formatted CMP Message is empty.";a["114002"]="CMP Message is empty.";a["114003"]="ASN.1 CMP object is empty.";a["114004"]="Cannot read CMP message. ASN.1 object is not an CMP PKIMessage.";a["114005"]="Cannot read CMP message. PKIBodyType is not (yet) supported.";a["114006"]="Refer is empty.(genM MSG)";a["114007"]="Auth Number is empty.(genM MSG)";a["114008"]="Password is empty.(genM MSG)";a["114009"]="Media is empty.(genM MSG)";a["114010"]="SignCert is empty.(rr MSG)";a["114011"]="SignKey is empty.(rr MSG)";a["114012"]="Password is empty.(rr MSG)";a["114013"]="RevokeNum is empty.(rr MSG)";a["114014"]="Cannot read revoke number. Revoke number is not (yet) supported.";a["114015"]="IPMessage is empty.";a["114016"]="Cannot read IP message. protectionAlg is not (yet) supported.";a["114017"]="Cannot read IP message. ASN.1 object is not an CertRepMessage.";a["114018"]="Cannot read IP message. ASN.1 object is not an CertResponse.";a["114019"]="Cannot read IP message. ASN.1 object is not an PKIStatusInfo.";a["114020"]="Cannot read IP message. ASN.1 object is not an CertRepMessage.";a["114021"]="Cannot read IP message. ASN.1 object is not an encryptedCert.";a["114022"]="Cannot read IP message. ASN.1 object is not an certifiedKeyPair.";a["114023"]="PKIFailure MSG : ";a["114024"]="PKIFailure MSG : ";a["114025"]="PKIFailureInfo : ";a["114026"]="Cannot read IP message. CertResponse status is not (yet) supported.";a["114027"]="Integrity failure.";a["114028"]="Cannot read CMP message. ASN.1 object is not an rpMsg.(RevRepContent)";a["114029"]="Cannot read IP message. ASN.1 object is not an PKIStatusInfo.";a["114030"]="PKIFailure MSG : ";a["114031"]="Cannot read CMP message. ASN.1 object is not an errMsg.(ErrorMsgContent)";a["114032"]="Cannot read CMP message. ASN.1 object is not an errMsg.(PKIStatusInfo)";a["114033"]="PKIFailure MSG : ";a["114034"]="FreeText is empty.";a["114035"]="CertType is empty.";a["114036"]="Unknown encryption algorithm.";a["114037"]="Public Key is empty.";a["114038"]="Unknown CMP Info.";a["114039"]="raVerified type is not (yet) supported.";a["114040"]="raVerified type is not (yet) supported.";a["114041"]="raVerified type is not (yet) supported.";a["114042"]="raVerified type is not (yet) supported.";a["114043"]="PKMACValue type is not (yet) supported.";a["114044"]="Cannot read processProtection type. ";a["114045"]="Cannot read CMP message. ASN.1 object is not an kurMsg.(CertRepMessage)";a["114046"]="Cannot read KUP message. protectionAlg is not (yet) supported.";a["114047"]="Integrity failure.";a["114048"]="Cannot read KUP message. ASN.1 object is not an CertRepMessage.";a["114049"]="CMP type is not (yet) supported.";a["114050"]="CMP type is not (yet) supported.";a["114051"]="Cannot read IP message. ASN.1 object is not an PKIHeader.";a["114052"]="Replay attack!";a["114053"]="Cannot read KUP message. ASN.1 object is not an PKIHeader.";a["114054"]="Replay attack!";a["115001"]="PKCS#12 PFX object is empty.";a["115002"]="PKCS#12 PFX password is empty.";a["115003"]="Cannot read PKCS#12 PFX. ASN.1 object is not an PKCS#12 PFX.";a["115004"]="CertBag length other than 2 not supported.";a["115005"]="PKCS#12 PFX of version other than 3 not supported.";a["115006"]="Only PKCS#12 PFX in password integrity mode supported.";a["115007"]="PKCS#12 authSafe content data is not an OCTET STRING.";a["115008"]="Unsupported MAC algorithm.";a["115009"]="PKCS#12 uses unsupported MAC algorithm:";a["115010"]="PKCS#12 MAC could not be verified. Invalid password?";a["115011"]="PKCS#12 AuthenticatedSafe expected to be a SEQUENCE OF ContentInfo.";a["115012"]="Cannot read ContentInfo.";a["115013"]="PKCS#12 SafeContents Data is not an OCTET STRING.";a["115014"]="Found PKCS#12 Encrypted SafeContents Data but no password available.";a["115015"]="Unsupported PKCS#12 contentType.";a["115016"]="Cannot read EncryptedContentInfo. ";a["115017"]="PKCS#12 EncryptedContentInfo ContentType is not Data.";a["115018"]="Failed to decrypt PKCS#12 SafeContents.";a["115019"]="Failed to encrypt PKCS#12 SafeContents.";a["115020"]="PKCS#12 SafeContents expected to be a SEQUENCE OF SafeBag";a["115021"]="Cannot read SafeBag.";a["115022"]="Unable to decrypt PKCS#8 ShroudedKeyBag, wrong password?";a["115023"]="Unsupported certificate type, only X.509 supported.";a["115024"]="Unsupported PKCS#12 SafeBag type.";a["115025"]="Cannot read PKCS#12 ";a["115026"]="Cannot read PKCS#12 BagAttribute.";a["115027"]="localKeyId is null.";a["115028"]="X.509 Certificate(signature) is empty.";a["115029"]="EncryptedPrivateKey is empty.";a["115030"]="PrivateKey password is empty.";a["115031"]="X.509 Certificate(signature) is empty.";a["115032"]="EncryptedPrivateKey is empty.";a["115033"]="PrivateKey password is empty.";a["115034"]="PKCS#12 PFX object is empty.";a["115035"]="PKCS#12 PFX password is empty.";a["115036"]="Cannot read PKCS#12 PFX. ASN.1 object is not an PKCS#12 PFX.";a["115037"]="CertBag length other than 2 not supported.";a["115038"]="PKCS#12 PFX of version other than 3 not supported.";a["115039"]="Only PKCS#12 PFX in password integrity mode supported.";a["115040"]="PKCS#12 authSafe content data is not an OCTET STRING.";a["115041"]="Unsupported MAC algorithm.";a["115042"]="PKCS#12 uses unsupported MAC algorithm: ";a["115043"]="PKCS#12 MAC could not be verified. Invalid password?";a["115044"]="The password to derive the key material is empty.";a["115045"]="The salt is empty.";a["115046"]="The iteration count is empty.";a["115047"]="The number of bytes to derive from the password is empty.";a["119001"]="WebStorage not available.";a["119002"]="error : ";a["119003"]="WebStorage not available.";a["119004"]="Flash local storage not available.";a["119005"]="the base64-encoded input is empty."}var f=[],b=null;"function"!==typeof define&&("object"===typeof module&&module.exports?b=function(a,b){b(require,module)}:(crosscert=window.crosscert=window.crosscert||{},e(crosscert)));(b||"function"===typeof define)&&(b||define)(["require","module"].concat(f),function(a,b){b.exports=function(c){var b=f.map(function(b){return a(b)}).concat(e);c=c||{};c.defined=c.defined||{};if(c.defined.jsustoolkitErrCode)return c.jsustoolkitErrCode;c.defined.jsustoolkitErrCode=!0;for(var d=0;d<b.length;++d)b[d](c);return c.jsustoolkitErrCode}})})();