org.apache.ws.security
Class PublicKeyPrincipal
java.lang.Object
org.apache.ws.security.PublicKeyPrincipal
- All Implemented Interfaces:
- java.io.Serializable, java.security.Principal
public class PublicKeyPrincipal
- extends java.lang.Object
- implements java.security.Principal, java.io.Serializable
This class encapsulates a principal defined by a Public Key. In particular, this class
is used for the ds:KeyInfo/ds:KeyValue case in the SignatureProcessor.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.security.Principal |
equals, hashCode, toString |
PublicKeyPrincipal
public PublicKeyPrincipal(java.security.PublicKey publicKey)
getPublicKey
public java.security.PublicKey getPublicKey()
getName
public java.lang.String getName()
- Specified by:
getName
in interface java.security.Principal
setPublicKey
public void setPublicKey(java.security.PublicKey publicKey)
Copyright © 2004-2011 The Apache Software Foundation. All Rights Reserved.