com.rsa.certj.spi.pki

Class ProtectInfoPublicKey

java.lang.Object
  |
  +--com.rsa.certj.spi.pki.ProtectInfo
        |
        +--com.rsa.certj.spi.pki.ProtectInfoPublicKey

public final class ProtectInfoPublicKey
extends ProtectInfo

This class is a subclass of ProtectInfo that is used if a public or private key is being used to protect a message. It holds a CertPathCtx that supplies a source for any certificates required and a source for the private key, if one is needed to protect a message.

Copyright © RSA Security Inc., 1999-2001. All rights reserved.

See Also

CertPathCtx

Constructor Summary

ProtectInfoPublicKey(CertPathCtx certPathCtx)

Constructs a ProtectInfoPublicKey object and initializes it with the certification path context, certPathCtx.

 

Method Summary

 CertPathCtx

getCertPathCtx()

Returns the CertPathCtx of this object that supplies a source for any certificates required and a source for the private key, if one is needed.

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

Constructor Detail

ProtectInfoPublicKey

public ProtectInfoPublicKey(CertPathCtx certPathCtx)
Constructs a ProtectInfoPublicKey object and initializes it with the certification path context, certPathCtx.

Parameters

         certPathCtx  

A CertPathCtx for this object that supplies both the certificates and the private key that might be needed to protect a message.

Method Detail

getCertPathCtx

public CertPathCtx getCertPathCtx()
Returns the CertPathCtx of this object that supplies a source for any certificates required and a source for the private key, if one is needed.

Returns

The CertPathCtx associated with this object.


RSA BSAFE ® Cert-J 2.1.1 001-047007-211-001-000