public class KeyCertificatePairUtilsImpl extends Object implements KeyCertificatePairUtils
Constructor and Description |
---|
KeyCertificatePairUtilsImpl(Provider securityProvider) |
Modifier and Type | Method and Description |
---|---|
String |
convertKeyToString(Object pemKey)
Converts key object into String.
|
SAMLTrustEntity |
pairToSamlTrustEntity(KeyCertificatePair keyCertificatePair) |
KeyCertificatePair |
samlTrustEntityToPair(SAMLTrustEntity trustEntity) |
X509Certificate |
x509CertificateFromPemString(String pemCertificate) |
public KeyCertificatePairUtilsImpl(Provider securityProvider)
public SAMLTrustEntity pairToSamlTrustEntity(KeyCertificatePair keyCertificatePair)
public String convertKeyToString(Object pemKey)
KeyCertificatePairUtils
convertKeyToString
in interface KeyCertificatePairUtils
pemKey
- Object of key - for example X509Certificate
or PrivateKey
public KeyCertificatePair samlTrustEntityToPair(SAMLTrustEntity trustEntity)
public X509Certificate x509CertificateFromPemString(String pemCertificate)
Copyright © 2020 Atlassian. All rights reserved.