2e67153de4
PyOpenSSL calls this function these days. Tested by roundtripping with ourselves and also manually confirming our output interoperates with OpenSSL. (For anyone repeating this experiment, the OpenSSL command-line tool has a bug and does not correctly output friendlyName attributes with non-ASCII characters. I'll send them a PR to fix this shortly.) Between this and the UTF-8 logic earlier, the theme of this patch series seems to be "implement in C something I last implemented in JavaScript"... Change-Id: I258d563498d82998c6bffc6789efeaba36fe3a5e Reviewed-on: https://boringssl-review.googlesource.com/28328 Reviewed-by: Adam Langley <agl@google.com>
34 lines
1010 B
Plaintext
34 lines
1010 B
Plaintext
PKCS8,129,BAD_ITERATION_COUNT
|
|
PKCS8,100,BAD_PKCS12_DATA
|
|
PKCS8,101,BAD_PKCS12_VERSION
|
|
PKCS8,102,CIPHER_HAS_NO_OBJECT_IDENTIFIER
|
|
PKCS8,103,CRYPT_ERROR
|
|
PKCS8,104,DECODE_ERROR
|
|
PKCS8,105,ENCODE_ERROR
|
|
PKCS8,106,ENCRYPT_ERROR
|
|
PKCS8,107,ERROR_SETTING_CIPHER_PARAMS
|
|
PKCS8,108,INCORRECT_PASSWORD
|
|
PKCS8,131,INVALID_CHARACTERS
|
|
PKCS8,109,KEYGEN_FAILURE
|
|
PKCS8,110,KEY_GEN_ERROR
|
|
PKCS8,111,METHOD_NOT_SUPPORTED
|
|
PKCS8,112,MISSING_MAC
|
|
PKCS8,113,MULTIPLE_PRIVATE_KEYS_IN_PKCS12
|
|
PKCS8,114,PKCS12_PUBLIC_KEY_INTEGRITY_NOT_SUPPORTED
|
|
PKCS8,115,PKCS12_TOO_DEEPLY_NESTED
|
|
PKCS8,116,PRIVATE_KEY_DECODE_ERROR
|
|
PKCS8,117,PRIVATE_KEY_ENCODE_ERROR
|
|
PKCS8,118,TOO_LONG
|
|
PKCS8,119,UNKNOWN_ALGORITHM
|
|
PKCS8,120,UNKNOWN_CIPHER
|
|
PKCS8,121,UNKNOWN_CIPHER_ALGORITHM
|
|
PKCS8,122,UNKNOWN_DIGEST
|
|
PKCS8,123,UNKNOWN_HASH
|
|
PKCS8,127,UNSUPPORTED_CIPHER
|
|
PKCS8,125,UNSUPPORTED_KEYLENGTH
|
|
PKCS8,128,UNSUPPORTED_KEY_DERIVATION_FUNCTION
|
|
PKCS8,132,UNSUPPORTED_OPTIONS
|
|
PKCS8,130,UNSUPPORTED_PRF
|
|
PKCS8,124,UNSUPPORTED_PRIVATE_KEY_ALGORITHM
|
|
PKCS8,126,UNSUPPORTED_SALT_TYPE
|