XCMS Toolkit

com.cms.crypto
Class SimpleKeyAgreementKeyPairLookup

java.lang.Object
  extended by com.cms.crypto.SimpleKeyAgreementKeyPairLookup
All Implemented Interfaces:
KeyAgreementKeySetLookup

public class SimpleKeyAgreementKeyPairLookup
extends java.lang.Object
implements KeyAgreementKeySetLookup

Locates public-private static and ephemeral key pairs used in key agreement key establishment schemes.

Version:
1.00 - 2006/01/25
Author:
support@phillipgriffin.com

Constructor Summary
SimpleKeyAgreementKeyPairLookup(java.security.KeyPair staticKeys, java.security.KeyPair ephemeralKeys)
          Constructor for SimpleKeyAgreementKeyPairLookup with static and ephemeral public/private key pair parameters.
 
Method Summary
 MQVKeySet match(KeyAgreeRecipientIdentifier rid)
          Returns ECMQV key agreement static and ephemeral key pairs associated with a value of the ASN.1 CMS type KeyAgreeRecipientIdentifier.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleKeyAgreementKeyPairLookup

public SimpleKeyAgreementKeyPairLookup(java.security.KeyPair staticKeys,
                                       java.security.KeyPair ephemeralKeys)
Constructor for SimpleKeyAgreementKeyPairLookup with static and ephemeral public/private key pair parameters.

Parameters:
staticKeys - static public-private key pair
ephemeralKeys - ephemeral public-private key pair
Method Detail

match

public MQVKeySet match(KeyAgreeRecipientIdentifier rid)
Returns ECMQV key agreement static and ephemeral key pairs associated with a value of the ASN.1 CMS type KeyAgreeRecipientIdentifier.

Specified by:
match in interface KeyAgreementKeySetLookup
Parameters:
rid - a value of ASN.1 type KeyAgreeRecipientIdentifier

XCMS Toolkit


Copyright © 2005-2006 GRIFFIN Consulting. All Rights Reserved.