Class PEM

  • Direct Known Subclasses:
    PEMReader, PEMWriter

    public class PEM
    extends java.lang.Object
    Version:
    $Revision: 1.13 $
    Author:
    $author$
    • Constructor Summary

      Constructors 
      Constructor Description
      PEM()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      protected static javax.crypto.SecretKey getKeyFromPassphrase​(java.lang.String passphrase, byte[] iv, int keySize)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PEM

        public PEM()
    • Method Detail

      • getKeyFromPassphrase

        protected static javax.crypto.SecretKey getKeyFromPassphrase​(java.lang.String passphrase,
                                                                     byte[] iv,
                                                                     int keySize)
                                                              throws java.security.NoSuchAlgorithmException,
                                                                     java.security.spec.InvalidKeySpecException
        Parameters:
        passphrase -
        iv -
        keySize -
        Returns:
        Throws:
        java.security.NoSuchAlgorithmException
        java.security.spec.InvalidKeySpecException
        java.lang.Error