Key database file format [keystore] Code
https://blog.csdn.net/zzhongcy/article/details/22755317
Format: JKS Extension: .jks / .ks Description: Java [Java Keystore] keystore implementation version, provider for the SUN Features: key store and private key with a different password protection format: JCEKS Extension: .jce description: JCE [JCE keystore] key library implementation version, provider for the SUN JCE features: TripleDES JKS higher level of security, with respect to the protection of private keystore format: PKCS12 extension: .p12 / .pfx description: [PKCS # 12 ] personal information exchange syntax standard features: 1 , contains the private key and a public key certificate 2 , key store and private key is protected with the same password format: BKS extension: .bks description: Bouncycastle keystore] key store BC's implementation version, provider for the BC features: based on JCE implementations Format: UBER Extension: .ubr Description: BC [Bouncycastle UBER Keystore] key store to achieve a more secure version, provider for the BC
The certificate file format [certificate] Code
Format: DER Extension: .cer /.crt/ .RSA Description: [the ASN. . 1 DER] for storing certificate characteristics: contain the private key, binary format: PKCS7 Extension: .p7b / .p7r Description: [PKCS # 7 ] encrypted information syntax standard features: 1 , P7B certificate chain to a tree display, without the private key 2 , P7R for the CA to sign the certificate request reply can only be used to import formats: CMS extension: .p7c /.p7m / .p7s description: [Cryptographic Message Syntax] features: . 1 , only the saved certificate P7c 2 , P7M: signature Data with enveloped . 3 , P7S: time stamp signature file Format: PEM Extension: .pem Description: [Printable Encoded Message] Features: 1 , the encoding format defined in RFC1421, in fact PEM is [Privacy- Enhanced Mail] shorthand, but he is also widely used in key management 2 , ASCII files 3 , base 64 is generally based on the encoding format: the PKCS10 extension: .p10 / .csr description: [the PKCS # 10 ] public Key Cryptography standards [certificate signing request] features: 1 , a certificate signing request file 2 , ASCII files 3 after CA signatures to file reply p7r format: SPC extension: .pvk / .spc description: [Software Publishing Certificate] Features: Microsoft's unique dual certificate file format, often used for code signing, in which . 1 , PVK for storing a private key 2 , a public key for storing SPC