CryptoSys PKI Pro Toolkit
- CryptoSys PKI Pro Manual
- Introduction to CryptoSys PKI Pro
- Getting Started
- New in this version
- Changes in earlier versions
- Conventions in this document
- Copyright Notice
- Theory
- Supported Algorithms
- A caution about insecure default algorithms
- Installation
- Visual Basic or Visual Basic: VB6 vs VB.NET
- General Programming Issues
- Using with Classic Visual Basic VB6 and VBA
- Using with ANSI C
- Using with C++ (STL)
- Using with .NET: C# and VB.NET
- Using with Python
- UTF-8 and Latin-1
- Filenames with 'International' characters
- Security Issues
- Key Security
- Internal key strings
- Security options for encrypted private keys
- Elliptic Curve Cryptography (ECC)
- Safe curves for elliptic cryptography
- Technical Details
- Self-Tests
- Critical Errors
- Optional Registry Settings
- Random Number Generator
- Specifying Distinguished Names
- LDAP String Representation of Distinguished Names
- X.509 Extensions Parameter
- AOC policy for X.509 content
- ISO 8601 date-time formats
- ASN.1 objects: binary DER- and BER-encoded files vs PEM-encoded text files
- Base64 alternative for X.509 certificates
- PEM string alternative for X.509 certificates, RSA and EC keys, etc
- Base64 and PEM string alternatives for CMS objects
- Specifying the algorithm, mode and padding for generic block cipher functions
- Padding schemes for block ciphers
- Valid key and block sizes for block cipher algorithms
- Specifying the signature algorithm in a SIG_ function
- AUTACK messages and ISO/IEC 9796-1 signatures
- CMS Content Types
- Using in MIME-conformant email messages
- Using output in XML documents
- Base64url encoding and JSON Web Signatures (JWS)
- Raw RSA Techniques
- RSA signature and encryption schemes: RSA-PSS and RSA-OAEP
- RSA-KEM
- Elliptic curve Diffie-Hellman (ECDH)
- Authenticated Encryption with Associated Data (AEAD)
- Hybrid Public Key Encryption (HPKE)
- HASH vs XOF vs MAC vs PRF vs KDF
- VB6/C Function Summary
- List of Functions
- VBA Wrapper Functions
- C++ (STL) Functions
- .NET Classes and Methods
- Summary of .NET Classes
- List of .Net Methods
- Asn1.TextDump Method
- Asn1.TextDumpToString Method
- Asn1.Type Method
- Cipher.BlockBytes Method
- Cipher.Decrypt Method (Byte, Byte, Byte, CipherAlgorithm, Mode)
- Cipher.Decrypt Method (Byte, Byte, Byte, CipherAlgorithm, Mode, Padding, Cipher.Opts)
- Cipher.Decrypt Method (String, String, String, CipherAlgorithm, Mode)
- Cipher.Decrypt Method (String, String, String, CipherAlgorithm, Mode, Padding, Cipher.Opts)
- Cipher.DecryptAEAD Method (Byte, Byte, Byte, AeadAlgorithm)
- Cipher.DecryptAEAD Method (Byte, Byte, Byte, Byte, AeadAlgorithm, Cipher.Opts)
- Cipher.Encrypt Method (Byte, Byte, Byte, CipherAlgorithm, Mode)
- Cipher.Encrypt Method (Byte, Byte, Byte, CipherAlgorithm, Mode, Padding, Cipher.Opts)
- Cipher.Encrypt Method (String, String, String, CipherAlgorithm, Mode)
- Cipher.Encrypt Method (String, String, String, CipherAlgorithm, Mode, Padding, Cipher.Opts)
- Cipher.EncryptAEAD Method (Byte, Byte, Byte, AeadAlgorithm)
- Cipher.EncryptAEAD Method (Byte, Byte, Byte, Byte, AeadAlgorithm, Cipher.Opts)
- Cipher.FileDecrypt Method (String, String, Byte, Byte, CipherAlgorithm, Mode, Padding, Cipher.Opts)
- Cipher.FileDecrypt Method (String, String, String, String, CipherAlgorithm, Mode, Padding, Cipher.Opts)
- Cipher.FileEncrypt Method (String, String, Byte, Byte, CipherAlgorithm, Mode, Padding, Cipher.Opts)
- Cipher.FileEncrypt Method (String, String, String, String, CipherAlgorithm, Mode, Padding, Cipher.Opts)
- Cipher.KeyBytes Method
- Cipher.KeyUnwrap Method
- Cipher.KeyWrap Method
- Cipher.Pad Method (Byte, CipherAlgorithm, Padding)
- Cipher.Pad Method (String, CipherAlgorithm, Padding)
- Cipher.Unpad Method (Byte, CipherAlgorithm, Padding)
- Cipher.Unpad Method (String, CipherAlgorithm, Padding)
- Cms.GetSigDataDigest Method
- Cms.GetSigHashAlgorithm Method
- Cms.MakeComprData Method
- Cms.MakeDetachedSig Method
- Cms.MakeEnvData Method (String, String, String, CipherAlgorithm, Cms.EnvDataOptions)
- Cms.MakeEnvData Method (String, String, String, CipherAlgorithm, Cms.KeyEncrAlgorithm, HashAlgorithm, Cms.EnvDataOptions, Kdf.KdfAlg, Kdf.KeyWrapAlg, String, Int32, Cms.ContentEncrAlg)
- Cms.MakeEnvDataFromBytes Method
- Cms.MakeEnvDataFromString Method (String, String, String, CipherAlgorithm, Cms.EnvDataOptions)
- Cms.MakeEnvDataFromString Method (String, String, String, CipherAlgorithm, Cms.KeyEncrAlgorithm, HashAlgorithm, Cms.EnvDataOptions, Kdf.KdfAlg, Kdf.KeyWrapAlg, String, Int32, Cms.ContentEncrAlg)
- Cms.MakeSigData Method (String, String, String, String, Cms.SigAlg, Cms.SigDataOptions)
- Cms.MakeSigData Method (String, String, String, String, HashAlgorithm, Cms.SigDataOptions)
- Cms.MakeSigDataFromBytes Method
- Cms.MakeSigDataFromPseudo Method
- Cms.MakeSigDataFromSigValue Method
- Cms.MakeSigDataFromString Method (String, String, String, String, Cms.SigAlg, Cms.SigDataOptions)
- Cms.MakeSigDataFromString Method (String, String, String, String, HashAlgorithm, Cms.SigDataOptions)
- Cms.QueryEnvData Method
- Cms.QuerySigData Method
- Cms.ReadComprData Method
- Cms.ReadEnvDataToBytes Method
- Cms.ReadEnvDataToFile Method
- Cms.ReadEnvDataToString Method
- Cms.ReadSigDataToBytes Method
- Cms.ReadSigDataToFile Method
- Cms.ReadSigDataToString Method
- Cms.VerifySigData Method
- Cnv.Base64Filter Method
- Cnv.Base64FromHex Method
- Cnv.ByteEncoding Method
- Cnv.CheckUTF8 Method
- Cnv.CheckUTF8File Method
- Cnv.FromBase58 Method
- Cnv.FromBase64 Method
- Cnv.FromHex Method
- Cnv.HexFilter Method
- Cnv.HexFromBase64 Method
- Cnv.NumFromBytes Method
- Cnv.NumToBytes Method
- Cnv.ReverseBytes Method
- Cnv.ShortPathName Method
- Cnv.StringFromBase64 Method
- Cnv.StringFromHex Method
- Cnv.ToBase58 Method
- Cnv.ToBase64 Method (Byte)
- Cnv.ToBase64 Method (String)
- Cnv.ToHex Method (Byte)
- Cnv.ToHex Method (String)
- Compr.Compress Method
- Compr.Uncompress Method
- Ecc.DHSharedSecret Method
- Ecc.KeyHashCode Method
- Ecc.MakeKeys Method
- Ecc.PublicKeyFromPrivate Method
- Ecc.QueryKey Method
- Ecc.ReadKeyByCurve Method
- Ecc.ReadPrivateKey Method
- Ecc.ReadPublicKey Method
- Ecc.SaveEncKey Method
- Ecc.SaveKey Method
- General.CompileTime Method
- General.ErrorCode Method
- General.ErrorLookup Method
- General.FormatErrorMessage Method
- General.LastError Method
- General.LicenceType Method
- General.ModuleInfo Method
- General.ModuleName Method
- General.NetVersion Method
- General.Platform Method
- General.PowerUpTests Method
- General.Version Method
- Hash.BytesFromBytes Method
- Hash.BytesFromFile Method
- Hash.Double Method
- Hash.HexFromBytes Method
- Hash.HexFromFile Method
- Hash.HexFromHex Method
- Hash.HexFromString Method
- Hash.HexFromTextFile Method
- Hash.Length Method
- Hmac.BytesFromBytes Method
- Hmac.HexFromBytes Method
- Hmac.HexFromHex Method
- Hpke.DerivePrivateKey Method
- Hpke.LabeledExpand Method
- Hpke.LabeledExtract Method
- Kdf.Bytes Method
- Kdf.ForCms Method
- Ocsp.MakeRequest Method
- Ocsp.ReadResponse Method
- Pbe.Kdf2 Method (Int32, Byte, Byte, Int32, HashAlgorithm)
- Pbe.Kdf2 Method (Int32, String, String, Int32, HashAlgorithm)
- Pbe.Scrypt Method (Int32, Byte, Byte, Int32, Int32, Int32)
- Pbe.Scrypt Method (Int32, String, String, Int32, Int32, Int32)
- Pem.FileFromBinFile Method
- Pem.FileToBinFile Method
- Pfx.MakeFile Method
- Pfx.SignatureIsValid Method
- Prf.Bytes Method
- Pwd.Prompt Method
- Rng.Bytes Method (Int32)
- Rng.Bytes Method (Int32, Byte)
- Rng.Bytes Method (Int32, String)
- Rng.BytesWithPrompt Method (Int32, Rng.Strength)
- Rng.BytesWithPrompt Method (Int32, String, Rng.Strength)
- Rng.Guid Method
- Rng.Initialize Method
- Rng.InitializeEx Method
- Rng.MakeSeedFile Method
- Rng.Number Method
- Rng.Octet Method
- Rng.Test Method
- Rng.TestDrbgvs Method
- Rng.UpdateSeedFile Method
- Rsa.CheckKey Method (String)
- Rsa.CheckKey Method (StringBuilder)
- Rsa.DecodeDigestForSignature Method
- Rsa.DecodeMsgForEncryption Method
- Rsa.DecodeMsgIso9796 Method
- Rsa.Decrypt Method
- Rsa.EncodeDigestForSignature Method
- Rsa.EncodeMsgForEncryption Method
- Rsa.EncodeMsgForSignature Method
- Rsa.EncodeMsgIso9796 Method
- Rsa.Encrypt Method
- Rsa.FromXMLString Method (String)
- Rsa.FromXMLString Method (String, Rsa.XmlOptions)
- Rsa.FromXMLString Method (String, Boolean)
- Rsa.GetPrivateKeyFromPFX Method
- Rsa.GetPublicKeyFromCert Method
- Rsa.KeyBits Method (String)
- Rsa.KeyBits Method (StringBuilder)
- Rsa.KeyBytes Method (String)
- Rsa.KeyBytes Method (StringBuilder)
- Rsa.KeyHashCode Method (String)
- Rsa.KeyHashCode Method (StringBuilder)
- Rsa.KeyMatch Method (String, String)
- Rsa.KeyMatch Method (StringBuilder, StringBuilder)
- Rsa.KeyValue Method
- Rsa.MakeKeys Method (String, String, Int32, Rsa.PublicExponent, Int32, String, CipherAlgorithm, HashAlgorithm, Rsa.Format, Boolean)
- Rsa.MakeKeys Method (String, String, Int32, Rsa.PublicExponent, Int32, String, Rsa.PbeOptions, Boolean, Byte)
- Rsa.MakeKeys Method (String, String, String, Int32, Rsa.PublicExponent, Rsa.PbeOptions, String, Rsa.Format, Boolean)
- Rsa.PublicKeyFromPrivate Method
- Rsa.RawPrivate Method (Byte, String)
- Rsa.RawPrivate Method (Byte, String, Int32)
- Rsa.RawPublic Method (Byte, String)
- Rsa.RawPublic Method (Byte, String, Int32)
- Rsa.ReadEncPrivateKey Method
- Rsa.ReadPrivateKey Method
- Rsa.ReadPrivateKeyFromPFX Method
- Rsa.ReadPrivateKeyInfo Method
- Rsa.ReadPublicKey Method
- Rsa.SaveEncKey Method
- Rsa.SaveEncPrivateKey Method (String, String, Int32, String, CipherAlgorithm, HashAlgorithm, Rsa.Format)
- Rsa.SaveEncPrivateKey Method (String, String, Int32, String, Rsa.PbeOptions, Rsa.Format)
- Rsa.SavePrivateKeyInfo Method
- Rsa.SavePublicKey Method
- Rsa.ToXMLString Method (String, Rsa.XmlOptions)
- Rsa.ToXMLString Method (String, String, Rsa.XmlOptions)
- Sig.GetHashAlgFromSigAlg Method
- Sig.SignData Method
- Sig.SignDigest Method
- Sig.SignFile Method
- Sig.VerifyData Method
- Sig.VerifyDigest Method
- Sig.VerifyFile Method
- Smime.Extract Method
- Smime.Query Method
- Smime.Wrap Method
- Tdea.Decrypt Method (Byte, Byte, Mode, Byte)
- Tdea.Decrypt Method (String, String, Mode, String)
- Tdea.Decrypt Method (String, String, Mode, String, EncodingBase)
- Tdea.Encrypt Method (Byte, Byte, Mode, Byte)
- Tdea.Encrypt Method (String, String, Mode, String)
- Tdea.Encrypt Method (String, String, Mode, String, EncodingBase)
- Tdea.FileDecrypt Method (String, String, Byte, Mode, Byte)
- Tdea.FileDecrypt Method (String, String, String, Mode, String)
- Tdea.FileEncrypt Method (String, String, Byte, Mode, Byte)
- Tdea.FileEncrypt Method (String, String, String, Mode, String)
- Wipe.Data Method
- Wipe.File Method
- Wipe.String Method
- X509.CertExpiresOn Method
- X509.CertIssuedOn Method
- X509.CertIssuerName Method
- X509.CertIsValidNow Method
- X509.CertRequest Method
- X509.CertSerialNumber Method
- X509.CertSubjectName Method
- X509.CertThumb Method
- X509.CheckCertInCRL Method
- X509.GetCertCountInP7Chain Method
- X509.GetCertFromP7Chain Method
- X509.GetCertFromPFX Method
- X509.GetP7ChainFromPFX Method
- X509.HashIssuerAndSN Method
- X509.KeyUsageFlags Method
- X509.MakeCert Method
- X509.MakeCertSelf Method
- X509.MakeCRL Method
- X509.QueryCert Method
- X509.ReadCertStringFromP7Chain Method
- X509.ReadCertStringFromPFX Method
- X509.ReadStringFromFile Method
- X509.SaveFileFromString Method
- X509.TextDump Method
- X509.TextDumpToString Method
- X509.ValidatePath Method
- X509.VerifyCert Method
- Xof.Bytes Method
- Enumerations in .NET
- Error Handling and Error Codes
- Acknowledgements
- Primary References
- Bibliography
- Index
- Revision History