org.apache.wss4j.common.principal
Class PublicKeyPrincipalImpl
java.lang.Object
org.apache.wss4j.common.principal.PublicKeyPrincipalImpl
- All Implemented Interfaces:
- Serializable, Principal, PublicKeyPrincipal
public class PublicKeyPrincipalImpl
- extends Object
- implements Serializable, PublicKeyPrincipal
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 |
PublicKeyPrincipalImpl
public PublicKeyPrincipalImpl(PublicKey publicKey)
getPublicKey
public PublicKey getPublicKey()
- Specified by:
getPublicKey in interface PublicKeyPrincipal
getName
public String getName()
- Specified by:
getName in interface Principal
setPublicKey
public void setPublicKey(PublicKey publicKey)
Copyright © 2004–2015 The Apache Software Foundation. All rights reserved.