public class SubjectPublicKeyInfoFactory extends Object
Modifier and Type | Method and Description |
---|---|
static SubjectPublicKeyInfo |
createSubjectPublicKeyInfo(AsymmetricKeyParameter publicKey)
Create a SubjectPublicKeyInfo public key.
|
public static SubjectPublicKeyInfo createSubjectPublicKeyInfo(AsymmetricKeyParameter publicKey) throws IOException
publicKey
- the key to be encoded into the info object.IOException
- on an error encoding the keyCopyright © 2020 BouncyCastle.org. All rights reserved.