public class PrivateKeyStub extends Object implements PrivateKey
Constructor and Description |
---|
PrivateKeyStub(String algorithm,
String format,
byte[] encoded)
Constructor
|
Modifier and Type | Method and Description |
---|---|
String |
getAlgorithm()
Returns algorithm
|
byte[] |
getEncoded()
Returns encoded form
|
String |
getFormat()
Returns format
|
public String getAlgorithm()
getAlgorithm
in interface Key
null
if the
algorithm is unknown.Key.getAlgorithm()
public String getFormat()
getFormat
in interface Key
null
if it can not be encoded.Key.getFormat()
public byte[] getEncoded()
getEncoded
in interface Key
null
if encoding is not
supported by this key.Key.getEncoded()