
org.bouncycastle.oer.its.PreSharedKeyRecipientInfo Maven / Gradle / Ivy
package org.bouncycastle.oer.its;
import org.bouncycastle.asn1.ASN1OctetString;
/**
* PreSharedKeyRecipientInfo ::= HashedId8
*/
public class PreSharedKeyRecipientInfo
extends HashedId
{
public PreSharedKeyRecipientInfo(byte[] string)
{
super(string);
}
public static PreSharedKeyRecipientInfo getInstance(Object object)
{
if (object instanceof PreSharedKeyRecipientInfo)
{
return (PreSharedKeyRecipientInfo)object;
}
ASN1OctetString octetString = ASN1OctetString.getInstance(object);
return new PreSharedKeyRecipientInfo(octetString.getOctets());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy