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