Name
PKCS8EncodedKeySpec
Synopsis
This class represents a private key, encoded according to the PKCS#8 standard.
Figure 14-97. java.security.spec.PKCS8EncodedKeySpec
public class PKCS8EncodedKeySpec extends EncodedKeySpec { // Public Constructors public PKCS8EncodedKeySpec(byte[ ] encodedKey); // Public Methods Overriding EncodedKeySpec public byte[ ] getEncoded( ); public final String getFormat( ); }
Returned By
javax.crypto.EncryptedPrivateKeyInfo.getKeySpec( )
Get Java in a Nutshell, 5th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.