|
XML Digital Signature and Encryption, 1.0 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjavax.xml.crypto.enc.ToBeEncryptedKey
public class ToBeEncryptedKey
A representation of a ToBeEncrypted type containing a Key.
ToBeEncrypted| Constructor Summary | |
|---|---|
ToBeEncryptedKey(java.security.Key key)
Creates a new ToBeEncryptedKey |
|
ToBeEncryptedKey(java.security.Key key,
java.lang.String type,
java.lang.String mimeType,
java.lang.String encoding)
Creates a new ToBeEncryptedKey |
|
| Method Summary | |
|---|---|
java.lang.String |
getEncoding()
ToBeEncrypted.getEncoding |
java.security.Key |
getKey()
Returns the to be encrypted key |
java.lang.String |
getMimeType()
ToBeEncrypted.getMimeType |
java.lang.String |
getType()
Returns a URI identifying the type of the encrypted key. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ToBeEncryptedKey(java.security.Key key)
key - the key to be encrypted
java.lang.NullPointerException - if key is null
public ToBeEncryptedKey(java.security.Key key,
java.lang.String type,
java.lang.String mimeType,
java.lang.String encoding)
key - the key to be encryptedtype - the type (may be null)mimeType - the mime type (may be null)encoding - the encoding (may be null)
java.lang.NullPointerException - if key is null| Method Detail |
|---|
public java.security.Key getKey()
public java.lang.String getType()
getType in interface ToBeEncryptednull if not specifiedpublic java.lang.String getMimeType()
ToBeEncrypted.getMimeType
getMimeType in interface ToBeEncryptednull if not specifiedpublic java.lang.String getEncoding()
ToBeEncrypted.getEncoding
getEncoding in interface ToBeEncryptednull if not specified
|
XML Digital Signature and Encryption, 1.0 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||