org.apache.ws.security
Class PublicKeyPrincipal
java.lang.Object
org.apache.ws.security.PublicKeyPrincipal
- All Implemented Interfaces:
- Serializable, Principal
public class PublicKeyPrincipal
- extends Object
- implements Principal, 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 |
PublicKeyPrincipal
public PublicKeyPrincipal(PublicKey publicKey)
getPublicKey
public PublicKey getPublicKey()
getName
public String getName()
- Specified by:
getName
in interface Principal
setPublicKey
public void setPublicKey(PublicKey publicKey)
Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.