public class SubjectPublicKeyInfoFactory
extends java.lang.Object
Modifier and Type | Method | Description |
---|---|---|
static SubjectPublicKeyInfo |
createSubjectPublicKeyInfo(AsymmetricKeyParameter publicKey) |
Create a SubjectPublicKeyInfo public key.
|
public static SubjectPublicKeyInfo createSubjectPublicKeyInfo(AsymmetricKeyParameter publicKey) throws java.io.IOException
publicKey
- the key to be encoded into the info object.java.io.IOException
- on an error encoding the key