/** * Read the values of the attributes of this object from the token. * * @param session * The session to use for reading attributes. This session must * have the appropriate rights; i.e. it must be a user-session, if * it is a private object. * @exception TokenException * If getting the attributes failed. * @preconditions (session <> null) * @postconditions */ @Override public void readAttributes(Session session) throws TokenException { super.readAttributes(session); PKCS11Object.getAttributeValues(session, objectHandle, new Attribute[] { prime, subprime, base, value }); }
/** * Read the values of the attributes of this object from the token. * * @param session * The session to use for reading attributes. This session must * have the appropriate rights; i.e. it must be a user-session, if * it is a private object. * @exception TokenException * If getting the attributes failed. * @preconditions (session <> null) * @postconditions */ @Override public void readAttributes(Session session) throws TokenException { super.readAttributes(session); PKCS11Object.getAttributeValues(session, objectHandle, new Attribute[] { ecdsaParams, ecPoint }); }
/** * Read the values of the attributes of this object from the token. * * @param session * The session to use for reading attributes. This session must * have the appropriate rights; i.e. it must be a user-session, if * it is a private object. * @exception TokenException * If getting the attributes failed. * @preconditions (session <> null) * @postconditions */ @Override public void readAttributes(Session session) throws TokenException { super.readAttributes(session); PKCS11Object.getAttributeValues(session, objectHandle, new Attribute[] { prime, base, value }); }
/** * Read the values of the attributes of this object from the token. * * @param session * The session to use for reading attributes. This session must * have the appropriate rights; i.e. it must be a user-session, if * it is a private object. * @exception TokenException * If getting the attributes failed. * @preconditions (session <> null) * @postconditions */ @Override public void readAttributes(Session session) throws TokenException { super.readAttributes(session); PKCS11Object.getAttributeValues(session, objectHandle, new Attribute[] { prime, subprime, base, value }); }
/** * Read the values of the attributes of this object from the token. * * @param session * The session to use for reading attributes. This session must * have the appropriate rights; i.e. it must be a user-session, if * it is a private object. * @exception TokenException * If getting the attributes failed. * @preconditions (session <> null) * @postconditions */ @Override public void readAttributes(Session session) throws TokenException { super.readAttributes(session); PKCS11Object.getAttributeValues(session, objectHandle, new Attribute[] { modulus, publicExponent, modulusBits }); }