# Functions
AEStoEncryptedPEM encapsulates an AES key in the encrypted PEM format.
AEStoPEM encapsulates an AES key in the PEM format.
CBCDecrypt decrypts using CBC mode.
CBCEncrypt encrypts using CBC mode.
CBCPKCS7Decrypt combines CBC decryption and PKCS7 unpadding.
CBCPKCS7Encrypt combines CBC encryption and PKCS7 padding.
DERToX509Certificate converts der to x509.
ECDSASign signs.
GenAESKey returns a random AES key of length AESKeyLength.
GetCriticalExtension returns a requested critical extension.
IntArrayEquals checks if the arrays of ints are the same.
NewECDSAKey generates a new ECDSA Key.
NewSelfSignedCert create a self signed certificate.
PEMtoAES extracts from the PEM an AES key.
PKCS7Padding pads as prescribed by the PKCS7 standard.
PKCS7UnPadding unpads as prescribed by the PKCS7 standard.
# Constants
AESKeyLength is the default AES key length.
NonceSize is the default NonceSize.
# Variables
TCertAttributesHeaders is the ASN1 object identifier of attributes header.
TCertEncAttributesBase is the base ASN1 object identifier for attributes.
TCertEncEnrollmentID is the ASN1 object identifier of the TCert index.
TCertEncTCertIndex oid for TCertIndex.
# Structs
ECDSASignature represents an ECDSA signature.