Oracle Security Developer Tools PKI SDK CMP Java API Reference
10g Release 2 (10.1.2.0.2)

B15559-01


oracle.security.crypto.cmp
Class ProofOfPossession

java.lang.Object
  extended byoracle.security.crypto.cmp.ProofOfPossession

Direct Known Subclasses:
KeyAgreementPOP, KeyEnciphermentPOP, RAVerifiedPOP, SignaturePOP

public abstract class ProofOfPossession
extends java.lang.Object

CRMF base class for proof of possession values which are used to prove that an end entity actually has possession of the private key for the certificate being requested.

Three types of proof of possession values are supported:

See Also:
CertReqMsg

Nested Class Summary
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 Summary
ProofOfPossession()

Method Summary
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)

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

Constructor Detail

ProofOfPossession

public ProofOfPossession()

Method Detail

getType

public abstract ProofOfPossession.Type getType()
Returns one of the values defined in ProofOfPossession.Type.

inputInstance

public static ProofOfPossession inputInstance(java.io.InputStream is)
                                       throws java.io.IOException
Creates a new CRMF ProofOfPossession by reading its encoding from the given input stream.
Parameters:
is - the input stream.
Throws:
java.io.IOException - If an I/O error occurs during input, or the encoding does not have the correct format.

output

public void output(java.io.OutputStream os)
            throws java.io.IOException
Throws:
java.io.IOException

length

public int length()

Oracle Security Developer Tools PKI SDK CMP Java API Reference
10g Release 2 (10.1.2.0.2)

B15559-01


Copyright © 2005 , Oracle. All rights reserved.