com.rsa.swsj
Interface KeyInfo
- All Known Implementing Classes:
- KeyValue, RetrievalMethod, SecurityTokenReference, X509Data
- public interface KeyInfo
This interface builds and stores a KeyInfo element. It stores
keys, names, certificates, and other public-key management information. It
is the base class for all types of KeyInfo. There are several
kinds of KeyInfo, including KeyValue and
X509Data.
KeyInfo arrays are passed to the security parameters of
signature and encryption objects in different ways.
-
For signatures, all
X509Data objects must resolve to the same
signing key, so the verifying application can use any of these
X509Data objects to verify the signature.
- For encryption, different
X509Data
objects can contain different end-entity certificates. These certificates
represent the different recipients of the encrypted object.
This class is an abstract class; the subclasses
implement the details.
getContext
public SWSJContext getContext()
- Gets the SWSJContext.
- Returns:
- The toolkit context.