public abstract class ProofOfPossession
extends java.lang.Object
implements oracle.security.crypto.asn1.ASN1Object
Three types of proof of possession values are supported:
CertReqMsg| Modifier and Type | Class and Description |
|---|---|
static class |
ProofOfPossession.SubsequentMsg
Type of subsequent message to be used for
KeyEnciphermentPOP and KeyAgreementPOP. |
static class |
ProofOfPossession.Type
Type of proof-of-possession.
|
| Constructor and Description |
|---|
ProofOfPossession() |
| Modifier and Type | Method and Description |
|---|---|
abstract ProofOfPossession.Type |
getType()
Returns one of the values defined in
ProofOfPossession.Type. |
static ProofOfPossession |
inputInstance(java.io.InputStream is)
Creates a new CRMF
ProofOfPossession by reading its encoding from the given input stream. |
int |
length() |
void |
output(java.io.OutputStream os) |
public abstract ProofOfPossession.Type getType()
ProofOfPossession.Type.public static ProofOfPossession inputInstance(java.io.InputStream is) throws java.io.IOException
ProofOfPossession by reading its encoding from the given input stream.is - the input stream.java.io.IOException - If an I/O error occurs during input, or the encoding does not have the correct format.
public void output(java.io.OutputStream os)
throws java.io.IOException
output in interface oracle.security.crypto.util.Streamablejava.io.IOExceptionpublic int length()
length in interface oracle.security.crypto.util.Streamable