public class GeneralPKIMessage extends Object
Constructor and Description |
---|
GeneralPKIMessage(byte[] encoding)
Create a PKIMessage from the passed in bytes.
|
GeneralPKIMessage(PKIMessage pkiMessage)
Wrap a PKIMessage ASN.1 structure.
|
Modifier and Type | Method and Description |
---|---|
PKIBody |
getBody() |
PKIHeader |
getHeader() |
boolean |
hasProtection()
Return true if this message has protection bits on it.
|
PKIMessage |
toASN1Structure() |
public GeneralPKIMessage(byte[] encoding) throws IOException
encoding
- BER/DER encoding of the PKIMessageIOException
- in the event of corrupted data, or an incorrect structure.public GeneralPKIMessage(PKIMessage pkiMessage)
pkiMessage
- base PKI message.public PKIHeader getHeader()
public PKIBody getBody()
public boolean hasProtection()
public PKIMessage toASN1Structure()
Copyright © 2015. All rights reserved.