Overview | Package | Class | Tree | Deprecated | Index | Help
| Bouncy Castle Cryptography Library 1.84
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.bouncycastle.crypto.util
Class SubjectPublicKeyInfoFactory

    java.lang.Object
      org.bouncycastle.crypto.util.SubjectPublicKeyInfoFactory

public class SubjectPublicKeyInfoFactory
extends java.lang.Object

Factory to create ASN.1 subject public key info objects from lightweight public keys.

Method Summary
`static SubjectPublicKeyInfo` | `createSubjectPublicKeyInfo(AsymmetricKeyParameter publicKey)` Create a SubjectPublicKeyInfo public key.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Method Detail

### createSubjectPublicKeyInfo

    public static SubjectPublicKeyInfo createSubjectPublicKeyInfo(AsymmetricKeyParameter publicKey)
                                                           throws java.io.IOException

  Create a SubjectPublicKeyInfo public key.

  Parameters:
    `publicKey` - the key to be encoded into the info object.
  Returns:
    a SubjectPublicKeyInfo representing the key.
  Throws:
    `java.io.IOException` - on an error encoding the key

Overview | Package | Class | Tree | Deprecated | Index | Help
| Bouncy Castle Cryptography Library 1.84
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD