public class STRParserResult extends Object
Constructor and Description |
---|
STRParserResult() |
Modifier and Type | Method and Description |
---|---|
X509Certificate[] |
getCertificates()
Get the X509Certificates associated with this SecurityTokenReference
|
STRParser.REFERENCE_TYPE |
getCertificatesReferenceType()
Get how the certificates were referenced
|
Principal |
getPrincipal()
Get the Principal associated with this SecurityTokenReference
|
PublicKey |
getPublicKey()
Get the PublicKey associated with this SecurityTokenReference
|
byte[] |
getSecretKey()
Get the Secret Key associated with this SecurityTokenReference
|
boolean |
isTrustedCredential()
Get whether the returned credential is already trusted or not.
|
void |
setCerts(X509Certificate[] certs) |
void |
setPrincipal(Principal principal) |
void |
setPublicKey(PublicKey publicKey) |
void |
setReferenceType(STRParser.REFERENCE_TYPE referenceType) |
void |
setSecretKey(byte[] secretKey) |
void |
setTrustedCredential(boolean trustedCredential) |
public X509Certificate[] getCertificates()
public Principal getPrincipal()
public PublicKey getPublicKey()
public byte[] getSecretKey()
public boolean isTrustedCredential()
public STRParser.REFERENCE_TYPE getCertificatesReferenceType()
public void setCerts(X509Certificate[] certs)
public void setSecretKey(byte[] secretKey)
public void setPublicKey(PublicKey publicKey)
public void setPrincipal(Principal principal)
public void setTrustedCredential(boolean trustedCredential)
public void setReferenceType(STRParser.REFERENCE_TYPE referenceType)
Copyright © 2017 JBoss by Red Hat. All rights reserved.