Package org.bouncycastle.jcajce.spec
Class RawEncodedKeySpec
java.lang.Object
java.security.spec.EncodedKeySpec
org.bouncycastle.jcajce.spec.RawEncodedKeySpec
- All Implemented Interfaces:
KeySpec
An encoded key spec that just wraps the minimal data for a public/private key representation.
-
Constructor Summary
-
Method Summary
Methods inherited from class java.security.spec.EncodedKeySpec
getAlgorithm, getEncoded
-
Constructor Details
-
RawEncodedKeySpec
public RawEncodedKeySpec(byte[] bytes) Base constructor - just the minimal data.- Parameters:
bytes
- the public/private key data.
-
-
Method Details
-
getFormat
- Specified by:
getFormat
in classEncodedKeySpec
-