Class RawEncodedKeySpec

  • All Implemented Interfaces:
    java.security.spec.KeySpec

    public class RawEncodedKeySpec
    extends java.security.spec.EncodedKeySpec
    An encoded key spec that just wraps the minimal data for a public/private key representation.
    • Constructor Summary

      Constructors 
      Constructor Description
      RawEncodedKeySpec​(byte[] bytes)
      Base constructor - just the minimal data.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getFormat()  
      • Methods inherited from class java.security.spec.EncodedKeySpec

        getAlgorithm, getEncoded
      • Methods inherited from class java.lang.Object

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

      • RawEncodedKeySpec

        public RawEncodedKeySpec​(byte[] bytes)
        Base constructor - just the minimal data.
        Parameters:
        bytes - the public/private key data.
    • Method Detail

      • getFormat

        public java.lang.String getFormat()
        Specified by:
        getFormat in class java.security.spec.EncodedKeySpec