PrivateKeyInfo
Return true if a public key is present, false otherwise.
Return the public key as a raw bit string.
public PrivateKeyInfo(AlgorithmIdentifier privateKeyAlgorithm, Asn1Encodable privateKey, Asn1Set attributes)
public PrivateKeyInfo(AlgorithmIdentifier privateKeyAlgorithm, Asn1Encodable privateKey, Asn1Set attributes, byte[] publicKey)
For when the public key is an ASN.1 encoding.