Class Overview
Factory to create asymmetric public key parameters for asymmetric ciphers from range of
ASN.1 encoded SubjectPublicKeyInfo objects.
Summary
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
Public Constructors
public
PublicKeyFactory
()
Public Methods
public
static
AsymmetricKeyParameter
createKey
(byte[] keyInfoData)
Create a public key from a SubjectPublicKeyInfo encoding
Parameters
keyInfoData
| the SubjectPublicKeyInfo encoding |
Returns
- the appropriate key parameter
Create a public key from a SubjectPublicKeyInfo encoding read from a stream
Parameters
inStr
| the stream to read the SubjectPublicKeyInfo encoding from |
Returns
- the appropriate key parameter
Create a public key from the passed in SubjectPublicKeyInfo
Parameters
keyInfo
| the SubjectPublicKeyInfo containing the key data |
Returns
- the appropriate key parameter