/** * <p> * Creates a {@code KeyInfoConfirmationDataType} with the specified {@code KeyInfoType}. * </p> * * @param keyInfo the {@code KeyInfoType} object that wraps the proof-of-possession token. * @return the constructed {@code KeyInfoConfirmationDataType} instance. */ public static KeyInfoConfirmationDataType createKeyInfoConfirmation(KeyInfoType keyInfo) { KeyInfoConfirmationDataType type = new KeyInfoConfirmationDataType(); type.setAnyType(keyInfo); return type; }
KeyInfoType keyInfo = (KeyInfoType) kicd.getAnyType(); if (keyInfo.getContent() == null || keyInfo.getContent().size() == 0) throw new ProcessingException(ErrorCodes.WRITER_INVALID_KEYINFO_NULL_CONTENT);
KeyInfoType keyInfo = (KeyInfoType) kicd.getAnyType(); if (keyInfo.getContent() == null || keyInfo.getContent().size() == 0) throw new ProcessingException(ErrorCodes.WRITER_INVALID_KEYINFO_NULL_CONTENT);
/** * <p> * Creates a {@code KeyInfoConfirmationDataType} with the specified {@code KeyInfoType}. * </p> * * @param keyInfo the {@code KeyInfoType} object that wraps the proof-of-possession token. * * @return the constructed {@code KeyInfoConfirmationDataType} instance. */ public static KeyInfoConfirmationDataType createKeyInfoConfirmation(KeyInfoType keyInfo) { KeyInfoConfirmationDataType type = new KeyInfoConfirmationDataType(); type.setAnyType(keyInfo); return type; }
KeyInfoType keyInfo = (KeyInfoType) kicd.getAnyType(); StaxUtil.writeKeyInfo(writer, keyInfo);
/** * <p> * Creates a {@code KeyInfoConfirmationDataType} with the specified {@code KeyInfoType}. * </p> * * @param keyInfo the {@code KeyInfoType} object that wraps the proof-of-possession token. * @return the constructed {@code KeyInfoConfirmationDataType} instance. */ public static KeyInfoConfirmationDataType createKeyInfoConfirmation(KeyInfoType keyInfo) { KeyInfoConfirmationDataType type = new KeyInfoConfirmationDataType(); type.setAnyType(keyInfo); return type; }
KeyInfoType keyInfo = (KeyInfoType) kicd.getAnyType(); StaxWriterUtil.writeKeyInfo(writer, keyInfo);
/** * <p> * Creates a {@code KeyInfoConfirmationDataType} with the specified {@code KeyInfoType}. * </p> * * @param keyInfo the {@code KeyInfoType} object that wraps the proof-of-possession token. * @return the constructed {@code KeyInfoConfirmationDataType} instance. */ public static KeyInfoConfirmationDataType createKeyInfoConfirmation(KeyInfoType keyInfo) { KeyInfoConfirmationDataType type = new KeyInfoConfirmationDataType(); type.setAnyType(keyInfo); return type; }
KeyInfoType keyInfo = (KeyInfoType) kicd.getAnyType(); StaxWriterUtil.writeKeyInfo(writer, keyInfo);
/** * <p> * Creates a {@code KeyInfoConfirmationDataType} with the specified {@code KeyInfoType}. * </p> * * @param keyInfo the {@code KeyInfoType} object that wraps the proof-of-possession token. * * @return the constructed {@code KeyInfoConfirmationDataType} instance. */ public static KeyInfoConfirmationDataType createKeyInfoConfirmation(KeyInfoType keyInfo) { KeyInfoConfirmationDataType type = new KeyInfoConfirmationDataType(); type.setAnyType(keyInfo); return type; }