01: package org.bouncycastle.jce.interfaces;
02:
03: import java.security.Key;
04: import java.security.PrivateKey;
05: import java.security.PublicKey;
06:
07: /**
08: * key pair for use with an integrated encryptor
09: */
10: public interface IESKey extends Key {
11: /**
12: * return the intended recipient's/sender's public key.
13: */
14: public PublicKey getPublic();
15:
16: /**
17: * return the local private key.
18: */
19: public PrivateKey getPrivate();
20: }
|