public class PkinitUtil extends Object
| Constructor and Description |
|---|
PkinitUtil() |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
getSignedAuthPack(PrivateKey privateKey,
X509Certificate certificate,
AuthPack authPack)
Uses a private key to sign data in a CMS SignedData structure and returns
the encoded CMS SignedData as bytes.
|
static byte[] |
getSignedKdcDhKeyInfo(PrivateKey privateKey,
X509Certificate certificate,
KdcDhKeyInfo kdcDhKeyInfo)
Uses a private key to sign data in a CMS SignedData structure and returns
the encoded CMS SignedData as bytes.
|
static byte[] |
getSignedReplyKeyPack(PrivateKey privateKey,
X509Certificate certificate,
ReplyKeyPack replyKeyPack)
Uses a private key to sign data in a CMS SignedData structure and returns
the encoded CMS SignedData as bytes.
|
public static byte[] getSignedAuthPack(PrivateKey privateKey, X509Certificate certificate, AuthPack authPack) throws KrbException
privateKey - The private keycertificate - The certificateauthPack - The auth packKrbException - epublic static byte[] getSignedKdcDhKeyInfo(PrivateKey privateKey, X509Certificate certificate, KdcDhKeyInfo kdcDhKeyInfo) throws KrbException
privateKey - The private Keycertificate - The certificatekdcDhKeyInfo - The kdc dh key infoKrbException - epublic static byte[] getSignedReplyKeyPack(PrivateKey privateKey, X509Certificate certificate, ReplyKeyPack replyKeyPack) throws KrbException
privateKey - The private keycertificate - The certificatereplyKeyPack - The reply key packKrbException - eCopyright © 2014–2016 The Apache Software Foundation. All rights reserved.