/external/curl/docs/cmdline-opts/ |
cert-type.d | 4 Help: Certificate file type (DER/PEM/ENG) 7 Tells curl what certificate type the provided certificate is in. PEM, DER and 8 ENG are recognized types. If not specified, PEM is assumed.
|
key-type.d | 3 Help: Private key file type (DER/PEM/ENG) 7 is. DER, PEM, and ENG are supported. If not specified, PEM is assumed.
|
crlfile.d | 4 Help: Get a CRL list in PEM format from the given file 7 Provide a file using PEM format with a Certificate Revocation List that may
|
cert.d | 10 PKCS#12 format if using Secure Transport, or PEM format if using any other 19 NSS PEM PKCS#11 module (libnsspem.so) is available then PEM files may be
|
pinnedpubkey.d | 7 peer. This can be a path to a file which contains a single public key in PEM 16 PEM/DER support:
|
capath.d | 8 \&"path1:path2:path3"). The certificates must be in PEM format, and if curl is
|
cacert.d | 7 may contain multiple CA certificates. The certificate(s) must be in PEM 19 If curl is built against the NSS SSL library, the NSS PEM PKCS#11 module
|
/external/boringssl/src/crypto/pem/ |
pem_lib.c | 1 /* crypto/pem/pem_lib.c */ 70 #include <openssl/pem.h> 128 OPENSSL_PUT_ERROR(PEM, ERR_R_BUF_LIB); 244 OPENSSL_PUT_ERROR(PEM, ERR_R_BUF_LIB); 269 OPENSSL_PUT_ERROR(PEM, PEM_R_UNSUPPORTED_CIPHER); 275 OPENSSL_PUT_ERROR(PEM, ERR_R_ASN1_LIB); 283 OPENSSL_PUT_ERROR(PEM, ERR_R_MALLOC_FAILURE); 298 OPENSSL_PUT_ERROR(PEM, PEM_R_READ_KEY); 369 OPENSSL_PUT_ERROR(PEM, PEM_R_BAD_PASSWORD_READ); 388 OPENSSL_PUT_ERROR(PEM, PEM_R_BAD_DECRYPT) [all...] |
pem_oth.c | 1 /* crypto/pem/pem_oth.c */ 58 #include <openssl/pem.h> 85 OPENSSL_PUT_ERROR(PEM, ERR_R_ASN1_LIB);
|
pem_pkey.c | 57 #include <openssl/pem.h> 111 OPENSSL_PUT_ERROR(PEM, PEM_R_BAD_PASSWORD_READ); 139 OPENSSL_PUT_ERROR(PEM, ERR_R_ASN1_LIB); 162 OPENSSL_PUT_ERROR(PEM, ERR_R_BUF_LIB); 179 OPENSSL_PUT_ERROR(PEM, ERR_R_BUF_LIB); 206 OPENSSL_PUT_ERROR(PEM, ERR_R_ASN1_LIB); 219 OPENSSL_PUT_ERROR(PEM, ERR_R_BUF_LIB);
|
pem_info.c | 1 /* crypto/pem/pem_info.c */ 59 #include <openssl/pem.h> 82 OPENSSL_PUT_ERROR(PEM, ERR_R_BUF_LIB); 108 OPENSSL_PUT_ERROR(PEM, ERR_R_MALLOC_FAILURE); 234 OPENSSL_PUT_ERROR(PEM, ERR_R_ASN1_LIB); 238 OPENSSL_PUT_ERROR(PEM, ERR_R_ASN1_LIB); 311 OPENSSL_PUT_ERROR(PEM, PEM_R_UNSUPPORTED_CIPHER); 324 OPENSSL_PUT_ERROR(PEM, PEM_R_CIPHER_IS_NULL); 340 OPENSSL_PUT_ERROR(PEM, PEM_R_UNSUPPORTED_CIPHER);
|
pem_pk8.c | 57 #include <openssl/pem.h> 119 OPENSSL_PUT_ERROR(PEM, PEM_R_ERROR_CONVERTING_PRIVATE_KEY); 129 OPENSSL_PUT_ERROR(PEM, PEM_R_READ_KEY); 173 OPENSSL_PUT_ERROR(PEM, PEM_R_BAD_PASSWORD_READ); 230 OPENSSL_PUT_ERROR(PEM, ERR_R_BUF_LIB); 244 OPENSSL_PUT_ERROR(PEM, ERR_R_BUF_LIB);
|
/external/avb/test/ |
avb_atx_generate_test_data | 54 if [ ! -f testkey_atx_prk.pem ]; then 55 openssl genpkey -algorithm RSA -pkeyopt rsa_keygen_bits:4096 -outform PEM \ 56 -out testkey_atx_prk.pem 58 if [ ! -f testkey_atx_pik.pem ]; then 59 openssl genpkey -algorithm RSA -pkeyopt rsa_keygen_bits:4096 -outform PEM \ 60 -out testkey_atx_pik.pem 62 if [ ! -f testkey_atx_psk.pem ]; then 63 openssl genpkey -algorithm RSA -pkeyopt rsa_keygen_bits:4096 -outform PEM \ 64 -out testkey_atx_psk.pem 69 --product_id=atx_product_id.bin --root_authority_key=testkey_atx_prk.pem [all...] |
/prebuilts/go/darwin-x86/src/crypto/tls/ |
tls.go | 18 "encoding/pem" 174 // of files. The files must contain PEM encoded data. The certificate file 191 // PEM encoded data. On successful return, Certificate.Leaf will be nil because 199 var certDERBlock *pem.Block 200 certDERBlock, certPEMBlock = pem.Decode(certPEMBlock) 213 return fail(errors.New("tls: failed to find any PEM data in certificate input")) 216 return fail(errors.New("tls: failed to find certificate PEM data in certificate input, but did find a private key; PEM inputs may have been switched")) 218 return fail(fmt.Errorf("tls: failed to find \"CERTIFICATE\" PEM block in certificate input after skipping PEM blocks of the following types: %v", skippedBlockTypes) [all...] |
/prebuilts/go/linux-x86/src/crypto/tls/ |
tls.go | 18 "encoding/pem" 174 // of files. The files must contain PEM encoded data. The certificate file 191 // PEM encoded data. On successful return, Certificate.Leaf will be nil because 199 var certDERBlock *pem.Block 200 certDERBlock, certPEMBlock = pem.Decode(certPEMBlock) 213 return fail(errors.New("tls: failed to find any PEM data in certificate input")) 216 return fail(errors.New("tls: failed to find certificate PEM data in certificate input, but did find a private key; PEM inputs may have been switched")) 218 return fail(fmt.Errorf("tls: failed to find \"CERTIFICATE\" PEM block in certificate input after skipping PEM blocks of the following types: %v", skippedBlockTypes) [all...] |
/prebuilts/go/darwin-x86/src/crypto/x509/ |
pem_decrypt.go | 7 // RFC 1423 describes the encryption of PEM blocks. The algorithm used to 17 "encoding/pem" 35 // rfc1423Algo holds a method for enciphering a PEM block. 44 // rfc1423Algos holds a slice of the possible ways to encrypt a PEM 98 // IsEncryptedPEMBlock returns if the PEM block is password encrypted. 99 func IsEncryptedPEMBlock(b *pem.Block) bool { 107 // DecryptPEMBlock takes a password encrypted PEM block and the password used to 112 // in the encrypted-PEM format, it's not always possible to detect an incorrect 115 func DecryptPEMBlock(b *pem.Block, password []byte) ([]byte, error) { 148 return nil, errors.New("x509: encrypted PEM data is not a multiple of the block size" [all...] |
sec1_test.go | 18 // openssl ecparam -genkey -name secp384r1 -outform PEM
|
example_test.go | 12 "encoding/pem" 78 block, _ := pem.Decode([]byte(certPEM)) 80 panic("failed to parse certificate PEM") 114 block, _ := pem.Decode([]byte(pubPEM)) 116 panic("failed to parse PEM block containing the public key")
|
/prebuilts/go/linux-x86/src/crypto/x509/ |
pem_decrypt.go | 7 // RFC 1423 describes the encryption of PEM blocks. The algorithm used to 17 "encoding/pem" 35 // rfc1423Algo holds a method for enciphering a PEM block. 44 // rfc1423Algos holds a slice of the possible ways to encrypt a PEM 98 // IsEncryptedPEMBlock returns if the PEM block is password encrypted. 99 func IsEncryptedPEMBlock(b *pem.Block) bool { 107 // DecryptPEMBlock takes a password encrypted PEM block and the password used to 112 // in the encrypted-PEM format, it's not always possible to detect an incorrect 115 func DecryptPEMBlock(b *pem.Block, password []byte) ([]byte, error) { 148 return nil, errors.New("x509: encrypted PEM data is not a multiple of the block size" [all...] |
sec1_test.go | 18 // openssl ecparam -genkey -name secp384r1 -outform PEM
|
example_test.go | 12 "encoding/pem" 78 block, _ := pem.Decode([]byte(certPEM)) 80 panic("failed to parse certificate PEM") 114 block, _ := pem.Decode([]byte(pubPEM)) 116 panic("failed to parse PEM block containing the public key")
|
/prebuilts/go/darwin-x86/src/encoding/pem/ |
pem.go | 5 // Package pem implements the PEM data encoding, which originated in Privacy 6 // Enhanced Mail. The most common use of PEM encoding today is in TLS keys and 8 package pem package 19 // A Block represents a PEM encoded structure. 74 // Decode will find the next PEM formatted block (certificate, private key 76 // no PEM data is found, p is nil and the whole of the input is returned in 167 // leading newline if the PEM block was empty. 175 // ultimately invalid PEM block. We need to start over from a new 255 // Encode writes the PEM encoding of b to out [all...] |
/prebuilts/go/linux-x86/src/encoding/pem/ |
pem.go | 5 // Package pem implements the PEM data encoding, which originated in Privacy 6 // Enhanced Mail. The most common use of PEM encoding today is in TLS keys and 8 package pem package 19 // A Block represents a PEM encoded structure. 74 // Decode will find the next PEM formatted block (certificate, private key 76 // no PEM data is found, p is nil and the whole of the input is returned in 167 // leading newline if the PEM block was empty. 175 // ultimately invalid PEM block. We need to start over from a new 255 // Encode writes the PEM encoding of b to out [all...] |
/prebuilts/go/darwin-x86/src/net/http/internal/ |
testcert.go | 7 // LocalhostCert is a PEM-encoded TLS cert with SAN IPs
|
/prebuilts/go/linux-x86/src/net/http/internal/ |
testcert.go | 7 // LocalhostCert is a PEM-encoded TLS cert with SAN IPs
|