GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing docs.oracle.com — PEMEncoder (Java SE 27 & JDK 27) Class PEMEncoderjava.lang.Object
java.security.PEMEncoder
PEMEncoder is a preview API of the Java platform.
Programs can only use
PEMEncoder when preview features are enabled.Preview features may be removed in a future release, or upgraded to permanent features of the Java platform.
PEMEncoder implements an encoder for Privacy-Enhanced Mail (PEM)
data. PEM is a textual encoding used to store and transfer cryptographic
objects, such as asymmetric keys, certificates, and certificate revocation
lists (CRLs). It is defined in RFC 1421 and RFC 7468. PEM consists of a
Base64-encoded content enclosed by a type-identifying header
and footer.
Encoding can be performed on cryptographic objects that
implement Private keys can be encrypted and encoded by configuring a
PKCS #8 v2.0 defines the ASN.1 OneAsymmetricKey structure, which may
contain both private and public keys.
When encoding a The following lists the supported
When used with a
This class is immutable and thread-safe. Example: encode a private key:
Example: encrypt and encode a private key using a password:
|
| You are visitor 01402520 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |